02.07.2009, 09:20
Quote:
Originally Posted by boelie
Yes i want it for just one car..lets say.. a tank (ID 432)
..the tank must be destroyed and spawn back some time |
i try that now
Код:
public OnPlayerStateChange(playerid, newstate, oldstate) { if(newstate == PLAYER_STATE_DRIVER && oldstate == PLAYER_STATE_ONFOOT) { new vehiclemod = GetVehicleModel (GetPlayerVehicleID(playerid)); if(vehiclemod == 432 ) vehiclemod = GetPlayerVehicleID(playerid); GameTextForPlayer(playerid, "~y~Kill Frenzy!", 3000, 6); SetTimerEx("explosion", 10000, false, "is", 1, "slut to pass"); veh = GetPlayerVehicleID(playerid); GetVehicleHealth(veh, unheal); SetVehicleHealth(veh,100); // } return 1; }