if killer id is a car
#3

You mean when the Killerid used a car to kill the player?

pawn Код:
public OnPlayerDeath(playerid, killerid, reason)
{
    if(IsPlayerInAnyVehiclekillerid))
    {
        SendClientmessagetoall(COLOR_RED, "The killer was in a car");
    }
    else
    {
        SendClientMessageToAll(COLOR_RED, "The killer wasn't in a car(so he was on foot)");
    }
    return 1;
}
I don't know if it is working 100% :$
Reply


Messages In This Thread
if killer id is a car - by Ihsan_Cingisiz - 15.08.2010, 16:54
Re: if killer id is a car - by akis_tze - 15.08.2010, 17:15
Re: if killer id is a car - by Wrath2k10 - 15.08.2010, 17:17
Re: if killer id is a car - by Ihsan_Cingisiz - 15.08.2010, 17:32
Re: if killer id is a car - by Hiddos - 15.08.2010, 18:04
Re: if killer id is a car - by legodude - 15.08.2010, 19:14

Forum Jump:


Users browsing this thread: 1 Guest(s)