xeon17 Posted December 29, 2013 Posted December 29, 2013 Is all ok with this script ? function Ammu ( thePlayer ) setPedArmor ( thePlayer, 100 ) setElementHealth ( thePlayer, 100 ) giveWeapon ( thePlayer, 24, 1000000000 ) takePlayerMoney ( thePlayer 2500 ) outputChatBox("[sERVER] You got weapons,armor,health.",thePlayer,0,255,255) end addCommandHandler ( "comprararmas", Ammu ) A unique GangWar gamemode waiting for you!Click here for more information.
Moderators IIYAMA Posted December 29, 2013 Moderators Posted December 29, 2013 Wrong: takePlayerMoney ( thePlayer 2500 ) Correct: (,) takePlayerMoney ( thePlayer, 2500 ) Do you want to improve your Lua programming skills and make less mistakes? Start with Lua Language Server! Useful functions 3x Spoiler checkPassiveTimer getScreenStartPositionFromBox getPedGender Tutorials 4x Spoiler Scaling DX Events Attach an addEventHandler on a group of elements Debugging
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