Try Posted April 27, 2011 Share Posted April 27, 2011 Hello Forum! Im making a Zombie server i found one exp by castillo but i tryied to use but dont go can someone explain me or give me one script for when u kill zombies u get exp and money? like one Level Script Thanks For The Help, Maria. Link to comment
Castillo Posted April 27, 2011 Share Posted April 27, 2011 Hmmm, try this code using the exp_system resource: function rewardOnWasted ( killer ) local exp = getElementData(killer,"exp") if exp then setElementData(killer,"exp",tonumber(getElementData(killer,"exp"))+5) outputChatBox("Experience gained +5! total ".. tonumber(exp)+5,killer,0,255,0) else setElementData(killer,"exp",5) end end addEvent("onZombieWasted",true) addEventHandler ( "onZombieWasted", getRootElement(), rewardOnWasted ) Link to comment
Try Posted April 27, 2011 Author Share Posted April 27, 2011 Wow Nice real fast i will try to use, but Castillo this script its with level like to show your level your exp in the screan, Thanks, Maria. Link to comment
Castillo Posted April 27, 2011 Share Posted April 27, 2011 Well, my exp/level system doesn't include that, you must make that part by yourself Link to comment
Try Posted April 28, 2011 Author Share Posted April 28, 2011 But can you help me with this? Please i need Thanks for the Help, Maria. Link to comment
Castillo Posted April 28, 2011 Share Posted April 28, 2011 You must store the data somewhere, then draw it with DX drawing functions. https://wiki.multitheftauto.com/wiki/Cli ... _functions Link to comment
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