*** This title is not descriptive - ******
#5

A person or vehicle's health is a float, not a numerical value.

pawn Код:
new Float:vhealth = GetVehicleHealth(vehicleid);
new Float:phealth = GetPlayerHealth(playerid);
In the string, you need to update the %.3d with %.3f because again, they are floats.
Reply


Messages In This Thread
*** This title is not descriptive - ****** - by 9903286 - 26.11.2012, 01:36
Re: Help with script error! - by Scenario - 26.11.2012, 01:50
Re: Help with script error! - by 9903286 - 26.11.2012, 01:52
Re: Help with script error! - by 9903286 - 26.11.2012, 02:05
Re: Help with script error! - by Scenario - 26.11.2012, 02:37
Re: Help with script error! - by 9903286 - 26.11.2012, 02:41
Re: *** This title is not descriptive - ****** - by Intoxicated - 26.11.2012, 19:25
Re: Help with script error! - by Vince - 26.11.2012, 19:30
Re: Help with script error! - by Scenario - 26.11.2012, 20:04

Forum Jump:


Users browsing this thread: 3 Guest(s)