20.05.2013, 15:33
All errors are at the SCM. You should put "playerid" instead on "sendername":
pawn Код:
if(sscanf(params, "iu", id, ammount)) return SCM(playerid, COLOR_GREY, "Usage: /setfaction [playerid/PoN] [Faction ID]");
else if (ammount > 3 || ammount < 0) return SCM(playerid, COLOR_GREY, "Only factions 0-3");
else if(!IsPlayerConnected(id)) return SCM(playerid, COLOR_RED, "Player not connected or logged in");

