playerid in OnVehicleDeath
#1

I want to kill the vehicle only in Deathm. But only vehicleid, killerid params are valid.

Код HTML:
if(GetPVarInt(playerid,"Deathm"))
	{
		DestroyVehicle(vehicleid);
	}
Код:
public OnVehicleDeath( vehicleid, killerid )
{
	if(GetPVarInt(playerid,"Deathm"))
	{
		DestroyVehicle(vehicleid);
	}
	
    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)