SetVehicleHealth Command Please Help
#4

pawn Код:
if(sscanf(params, "ui", VehicleHealth)) return SendClientMessage(playerid, COLOR_GREEN, "/setvehiclehealth [Health]");
This should be ^:

pawn Код:
if(sscanf(params, "f", VehicleHealth)) return SendClientMessage(playerid, COLOR_GREEN, "/setvehiclehealth [Health]");
The vehiclehealth gotta be a float, so why should you use "ui"? (integers)? The 'f' - specifier is for a float, that's also what the guys above me told you.
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: 2 Guest(s)