playerid in OnVehicleDeath
#9

Quote:
Originally Posted by Deadpoop
Посмотреть сообщение
then do it onplayerdeath

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

lol clever

but i'm worrying if player a player jumps off the car. he is not in a vehicle anymore that time. but I think i'll use this for now. thanks tho.

if anyone can maneuver playerid on onvehicledeath then that would be cool! lol
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)