06.06.2010, 02:57
For some reason, this code doesn't work
Help please?
Help please?
pawn Код:
public OnVehicleDamageStatusUpdate(vehicleid, playerid)
{
new Float:vHP;
GetVehicleHealth(vehicleid, vHP);
if(vHP < 300)
{
vEngine[vehicleid] = 0;
TogglePlayerControllable(playerid, 0);
return 1;
}
return 1;
}