Rm-Dj Posted April 9, 2017 Posted April 9, 2017 Hi, how can I give another players health or armor ? thanks in advance.
NeXuS™ Posted April 10, 2017 Posted April 10, 2017 If you want a simple a command just use addCommandHandlersetElementHealthsetPedArmor and then maybe use an outputChatBox to output to the player that his health/armor has been updated.
Function Posted April 11, 2017 Posted April 11, 2017 function healPlayer(player) setElementHealth(player,1000) setPedArmor(player,100) outputChatBox("You got full health and armor.",player) end end addCommandHandler("heal",root,healPlayer)
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