1 if for 2 users - 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)
+---- Forum: Help Archive (
https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: 1 if for 2 users (
/showthread.php?tid=242902)
1 if for 2 users -
Julian12345 - 20.03.2011
Hello, I'm a noob at scripting, maybe somebody can help me.
I have an IRC Admin System for SA:MP and I want a command for 2 users.
This is the code for 1 user:
pawn Код:
if(strfind(user,"USER1",true,0)!= -1)
I heared that I have to put || after that or so, maybe somebody can do it for me?
Thanks in advance.
Re: 1 if for 2 users -
Memoryz - 20.03.2011
pawn Код:
if(strfind(user,"USER1",true,0)!= -1 || strfind(user,"USER2",true,0)!= -1)
AW: 1 if for 2 users -
Julian12345 - 20.03.2011
Works, thank you very much Memoryz!
Re: 1 if for 2 users -
maramizo - 20.03.2011