Faction Command - 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: Faction Command (
/showthread.php?tid=451997)
Faction Command -
Pk93 - 19.07.2013
Hello i got a problem with this script i cant see why it wont work if anyone nows please let me now
Код:
if(faction != LSPD) || (faction != FBI) return SCM(playerid, COLOR_LIGHTRED, "Invalid faction.");
Re: Faction Command -
Misiur - 19.07.2013
pawn Код:
if(faction != LSPD) || (faction != FBI)
//should be
if(faction != LSPD && faction != FBI)
#e: swapped or to and
Re: Faction Command -
Pk93 - 19.07.2013
Код:
if(faction != LSPD && faction != FBI) return SCM(playerid, COLOR_LIGHTRED, "Invalid faction.");
Thanks Alot!!!