help plz
#2

pawn Код:
public OnPlayerDeath(playerid, killerid, reason)
{
    if(IsPlayerConnected(killerid)) // Checks if your killer is connected.
    {
        if(GetPlayerState(killerid) == PLAYER_STATE_DRIVER) // Checks if the persons state is in the driver seat.
        {
        // Code here, btw the Playerid for the person who car killed is "killerid"
        }
    }
}
Reply


Messages In This Thread
help plz - by iJumbo - 12.07.2010, 08:01
Re: help plz - by FreshKilla - 12.07.2010, 08:11
Re: help plz - by iJumbo - 12.07.2010, 08:12

Forum Jump:


Users browsing this thread: 1 Guest(s)