15.08.2010, 17:17
You mean when the Killerid used a car to kill the player?
I don't know if it is working 100% :$
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;
}