capitanazop Posted September 15, 2009 Share Posted September 15, 2009 hi i tried to set the hp of ped to 300 but only can 100, exist another way for make this? here my script, work when set the hp to 70 ,10, 5, but not whit values than 100. setTimer( setElementHealth, 1000, 1, pedmision1, 3000 ) Bye and sorry for my english Link to comment
robhol Posted September 15, 2009 Share Posted September 15, 2009 If it were me, I'd make a variable for the ped's health, hook up the damage events to subtract from the variable and set the ped's health in accordance. (current * 100/max) Link to comment
PLEP Posted September 16, 2009 Share Posted September 16, 2009 I think 200 hp is the maximum in GTA SA. Link to comment
robhol Posted September 16, 2009 Share Posted September 16, 2009 I think 200 hp is the maximum in GTA SA. Irrelevant if you use my suggestion. You could have a ped with thousands of HP. 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