-.Paradox.- Posted August 7, 2013 Posted August 7, 2013 Hello, its me again, i have a bug in scoreboard, it wont show level image, here is the code. exports.scoreboard:addScoreboardColumn('Rank',getRootElement(),1,40,'Rank') function scoreLevel () local account = getPlayerAccount(source) local Level = getAccountData(account, "LV") if isGuestAccount ( account ) then setElementData(source, "Rank",":experience\\ranks\\lvl_0.png") else setElementData(source, "Rank", tostring(":experience\\ranks\\lvl_"..Level..".png" )) end end addEventHandler("onPlayerSpawn", getRootElement(), scoreLevel) addEventHandler("onResourceStart",getResourceRootElement(getThisResource()), function() call(getResourceFromName("scoreboard"),"addScoreboardColumn","Rank", getRootElement(), 1, 40) end ) i add this line to dxscoreboard_client.lua elseif column.name == "Rank" then dxDrawImage( topX+theX, y-s(0.5), 30, 30, content, 0, 0, 0, cWhite, drawOverGUI ) If you're looking for a cheap paid scripter, don't hesitate to contact me. Great minds discuss ideas, Average minds discuss events and small minds discuss people.
-.Paradox.- Posted August 8, 2013 Author Posted August 8, 2013 Help please If you're looking for a cheap paid scripter, don't hesitate to contact me. Great minds discuss ideas, Average minds discuss events and small minds discuss people.
xXMADEXx Posted August 8, 2013 Posted August 8, 2013 Any errors? The Ultimate Lua Tutorial! | MTA PHP SDK
-.Paradox.- Posted August 8, 2013 Author Posted August 8, 2013 dxDrawImage [Can't load] If you're looking for a cheap paid scripter, don't hesitate to contact me. Great minds discuss ideas, Average minds discuss events and small minds discuss people.
-.Paradox.- Posted August 8, 2013 Author Posted August 8, 2013 Help please If you're looking for a cheap paid scripter, don't hesitate to contact me. Great minds discuss ideas, Average minds discuss events and small minds discuss people.
xXMADEXx Posted August 8, 2013 Posted August 8, 2013 Try converting the .png file to .jpg The Ultimate Lua Tutorial! | MTA PHP SDK
-.Paradox.- Posted August 8, 2013 Author Posted August 8, 2013 Try converting the .png file to .jpg Still same error If you're looking for a cheap paid scripter, don't hesitate to contact me. Great minds discuss ideas, Average minds discuss events and small minds discuss people.
TrapLord Studios™ Posted August 8, 2013 Posted August 8, 2013 Alright, I would be able to help you here, add me on Skype : avindean6 Visit TrapLord Studios™
-.Paradox.- Posted August 8, 2013 Author Posted August 8, 2013 BUMP! If you're looking for a cheap paid scripter, don't hesitate to contact me. Great minds discuss ideas, Average minds discuss events and small minds discuss people.
-.Paradox.- Posted August 8, 2013 Author Posted August 8, 2013 HELP If you're looking for a cheap paid scripter, don't hesitate to contact me. Great minds discuss ideas, Average minds discuss events and small minds discuss people.
HunT Posted August 8, 2013 Posted August 8, 2013 U need delete the client and old scoreboard resource. First stop the resource scoreboard. Go to - MTA San Andreas / mods / deathmatch / resource / and delete scoreboard Go to - MTA San Andreas / server / mods / deathmatch / resource-cache / http-client-files /and delete scoreboard Back on server and /start scoreboard @Huntone_
-.Paradox.- Posted August 9, 2013 Author Posted August 9, 2013 Thanks again Hunterix and i was asking i want add it to my dx hud what i need to add? If you're looking for a cheap paid scripter, don't hesitate to contact me. Great minds discuss ideas, Average minds discuss events and small minds discuss people.
HunT Posted August 9, 2013 Posted August 9, 2013 After getAccountData in the rank script add setElementData ,and u can use getElementData in the client dx HUD. @Huntone_
-.Paradox.- Posted August 9, 2013 Author Posted August 9, 2013 I can't understand and im using a dxHud i made it its working perfect without bugs. If you're looking for a cheap paid scripter, don't hesitate to contact me. Great minds discuss ideas, Average minds discuss events and small minds discuss people.
Castillo Posted August 9, 2013 Posted August 9, 2013 What are you trying to do? San Andreas Utopia RPG (SAUR) Owner & Developer. Education is the most powerful weapon which you can use to change the world.
-.Paradox.- Posted August 9, 2013 Author Posted August 9, 2013 Add it to my dxhud, i guess i need to create another code right? I know how to make an image in dxhud. If you're looking for a cheap paid scripter, don't hesitate to contact me. Great minds discuss ideas, Average minds discuss events and small minds discuss people.
Castillo Posted August 9, 2013 Posted August 9, 2013 Same way as scoreboard does it. San Andreas Utopia RPG (SAUR) Owner & Developer. Education is the most powerful weapon which you can use to change the world.
-.Paradox.- Posted August 9, 2013 Author Posted August 9, 2013 What you mean? If you're looking for a cheap paid scripter, don't hesitate to contact me. Great minds discuss ideas, Average minds discuss events and small minds discuss people.
Castillo Posted August 9, 2013 Posted August 9, 2013 Render the image same way as in the scoreboard. San Andreas Utopia RPG (SAUR) Owner & Developer. Education is the most powerful weapon which you can use to change the world.
-.Paradox.- Posted August 10, 2013 Author Posted August 10, 2013 Its ok now i fixed it, can you help me here? https://forum.multitheftauto.com/viewtopic.php?f ... 8&start=15 If you're looking for a cheap paid scripter, don't hesitate to contact me. Great minds discuss ideas, Average minds discuss events and small minds discuss people.
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now