11.03.2009, 23:18
Well, not sure what causes the message for non cops, double check the skin IDs maybe? About your other problem
pawn Код:
public OnPlayerDeath(playerid, killerid, reason)
{
new skin = GetPlayerSkin(playerid);
if (reason <= 42)
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);
}
return 1;
}

