07.01.2010, 09:59
Quote:
Originally Posted by kaisersouse
You can also just set the vehicle's health to something insanely high like 999999.9. Doesn't require a timer.
|
There's no need to create a timer at all.
pawn Код:
if(!strcmp("/afix", cmdtext, true))
{
if(IsPlayerInAnyVehicle(playerid))
{
SetVehicleHealth(GetPlayerVehicleID(playerid), 100000);
}
return 1;
}