playerid in OnVehicleDeath
#7

then do it onplayerdeath

PHP код:
public OnPlayerDeath(playerid, killerid)
{
    if(
GetPVarInt(playerid,"Deathm"))
    {
        if(
IsPlayerInAnyVehicle(playerid))
        {
            
DestroyVehicle(GetPlayerVehicleID(playerid));
   }
   return 
1;
} 
Reply


Messages In This Thread
playerid in OnVehicleDeath - by OKOK - 27.07.2016, 21:52
Re: playerid in OnVehicleDeath - by AlexPalermitano97 - 27.07.2016, 21:54
Re: playerid in OnVehicleDeath - by OKOK - 27.07.2016, 21:57
Re: playerid in OnVehicleDeath - by Deadpoop - 27.07.2016, 22:05
Re: playerid in OnVehicleDeath - by OKOK - 27.07.2016, 22:13
Re: playerid in OnVehicleDeath - by Konstantinos - 27.07.2016, 22:26
Re: playerid in OnVehicleDeath - by Deadpoop - 27.07.2016, 22:29
Re: playerid in OnVehicleDeath - by Deadpoop - 27.07.2016, 22:38
Re: playerid in OnVehicleDeath - by OKOK - 27.07.2016, 23:20
Re: playerid in OnVehicleDeath - by MerryDeer - 28.07.2016, 06:43

Forum Jump:


Users browsing this thread: 1 Guest(s)