DestroyVehicle
#2

There isn't 'killerid' in OnVehicleDeath params


You wanted to do this?
pawn Код:
public OnPlayerDeath(...)
{
    if(IsPlayerInAnyVehicle(playerid))
    {
        DestroyVehicle(GetPlayerVehicleID(playerid));
    }
    return 1;
}
Reply


Messages In This Thread
DestroyVehicle - by marrcko - 01.04.2011, 16:59
Re: DestroyVehicle - by Marricio - 01.04.2011, 17:31
Re: DestroyVehicle - by marrcko - 01.04.2011, 17:39
Re: DestroyVehicle - by antonio112 - 01.04.2011, 17:39
Re: DestroyVehicle - by marrcko - 01.04.2011, 20:15

Forum Jump:


Users browsing this thread: 1 Guest(s)