suicide by cop
#1

Код:
new skin;
skin = GetPlayerSkin(playerid);
if (skin == 287 || skin == 163 || skin == 282 || skin== 255 || skin== 165) //cop and army skins
{
new string[128];
new name[MAX_PLAYER_NAME];
GetPlayerName(killerid,name,MAX_PLAYER_NAME);
format(string, sizeof(string), "[POLICE]: %s is now wanted for killing a police officer.",name);
SendClientMessageToAll(COLOR_LIGHTBLUE,string);
GivePlayerMoney(killerid,500);
}
ok, when someone dies from falling, or using a /kill cmd, the message still pops up. Any way to prevent? Plus, it even pops up when the person who died is not a cop!
Reply


Messages In This Thread
suicide by cop - by CJ101 - 11.03.2009, 22:48
Re: suicide by cop - by [RP]Rav - 11.03.2009, 23:18
Re: suicide by cop - by MenaceX^ - 12.03.2009, 10:47
Re: suicide by cop - by SpiderPork - 12.03.2009, 13:21

Forum Jump:


Users browsing this thread: 1 Guest(s)