GetPlayerHealth ( Pilot )
#2

Just put this:
PHP код:
if (FlightStarted[playerid] == 1)
{
    if (
GetVehicleModel(GetPlayerVehicleID(playerid)) == 592DestroyVehicle(GetPlayerVehicleID(playerid));
    
CP[playerid] = 0;
    
DisablePlayerCheckpoint(playerid);
    
FlightStarted[playerid] = 0;
    
SetPlayerPos(playerid1891.9252, -2328.712913.5469);
    
SendClientMessage(playeridCOLOR_YELLOW"Flight aborted.");
    return 
1;
}
else 
SendClientMessage(playeridCOLOR_GREY"    You didn't start a flight yet.");
return 
1
inside OnPlayerDeath callback.
Reply


Messages In This Thread
GetPlayerHealth ( Pilot ) - by Mikeydoo - 08.01.2016, 02:37
Re: GetPlayerHealth ( Pilot ) - by iKarim - 08.01.2016, 04:07

Forum Jump:


Users browsing this thread: 2 Guest(s)