01.03.2009, 14:12
Danut, i think he want the health at 30 only so when he exits car, it will still explode.
So:
So:
pawn Код:
if(strcmp(cmd, "/blowup", true) == 0)
{
if(!IsPlayerInAnyVehicle(playerid))
{
SendClientMessage(playerid,COLOR_WHITE," You must be in a CAR !");
return 1;
}
SetVehicleHealth(GetPlayerVehicleID(playerid),30);//to explode it after 5 seconds
return 1;
}