09.03.2011, 08:32
First reason:
Shouldn't it be:
Second reason:
I really doubt that an AND placed in that way would work (It won't work unless playerid is a cop)... try this:
Код:
SendClientMessage(playerid, COLOR_ERROR, "(TEAM KILLER)");
Код:
SendClientMessage(killerid, COLOR_ERROR, "(TEAM KILLER)");
Код:
if(IsPlayerCop(killerid) || IsPlayerArmy(killerid) || IsPlayerSwat(killerid) && IsPlayerCop(playerid) || IsPlayerArmy(playerid) || IsPlayerSwat(playerid))
Код:
if((IsPlayerCop(killerid) || IsPlayerArmy(killerid) || IsPlayerSwat(killerid)) && ((IsPlayerCop(playerid) || IsPlayerArmy(playerid) || IsPlayerSwat(playerid)))