SA-MP Forums Archive
Little thing, This returns the message.... - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Little thing, This returns the message.... (/showthread.php?tid=311024)



Little thing, This returns the message.... - Dokins - 14.01.2012

pawn Код:
if(Faction[playerid] != 1 || Faction[playerid] != 2 || Faction[playerid] != 3) return SendClientMessage(playerid, COLOUR_GREY, "You cannot use this.");
How do I make it so that it works for the defined faction, it just returns the message although I'm in Faction id 1.


AW: Little thing, This returns the message.... - xerox8521 - 14.01.2012

pawn Код:
if(Faction[playerid] != 1 && Faction[playerid] != 2 && Faction[playerid] != 3) return SendClientMessage(playerid, COLOUR_GREY, "You cannot use this.");