15.08.2010, 16:54
How can i know if the killer is a guy with a car?
if(killerid == ??
if(killerid == ??
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;
}
You mean when the Killerid used a car to kill the player?
pawn Код:
|