DaemonHunter Posted July 16, 2012 Share Posted July 16, 2012 is it possible to increase player's max health? Link to comment
TAPL Posted July 16, 2012 Share Posted July 16, 2012 Yes. https://community.multitheftauto.com/ind ... ls&id=5195 Link to comment
DaemonHunter Posted July 16, 2012 Author Share Posted July 16, 2012 thank you very much Link to comment
DaemonHunter Posted July 17, 2012 Author Share Posted July 17, 2012 Use setPedStat. but the ped are players? Link to comment
Xeno Posted July 17, 2012 Share Posted July 17, 2012 Yes, they are. For example, function changeBodyStrength(thePlayer, commandName) -- Output whether the setPlayerStat was successful in changing the BODY_MUSCLE STAT if setPedStat(thePlayer, 23, 999) then outputChatBox("Your player looks really muscular") else outputChatBox("Failed to make your player look muscular.") end end addCommandHandler("beefcake", changeBodyStrength) -- Wiki script. Link to comment
DaemonHunter Posted July 17, 2012 Author Share Posted July 17, 2012 another question: what is a standard player max health? Link to comment
TAPL Posted July 17, 2012 Share Posted July 17, 2012 200 HP after using setPedStat. if you want more you can use https://community.multitheftauto.com/ind ... ls&id=5195 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