SetVehicleHealth Command Please Help
#3

You are assigning an integer to a float.
You have two options to fix this.
Replacing
pawn Код:
new VehicleHealth;
with
pawn Код:
new Float:VehicleHealth;
Or replacing
pawn Код:
SetVehicleHealth(vehicleid,VehicleHealth);
with
pawn Код:
SetVehicleHealth(vehicleid,float(VehicleHealth));
EDIT: Or what the guy above me said
Reply


Messages In This Thread
SetVehicleHealth Command Please Help - by Scripter12345 - 24.04.2012, 18:02
Respuesta: SetVehicleHealth Command Please Help - by [DOG]irinel1996 - 24.04.2012, 18:05
Re: SetVehicleHealth Command Please Help - by Claude - 24.04.2012, 18:07
Re: SetVehicleHealth Command Please Help - by Twisted_Insane - 24.04.2012, 18:12

Forum Jump:


Users browsing this thread: 1 Guest(s)