1 if for 2 users
#1

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.
Reply
#2

pawn Код:
if(strfind(user,"USER1",true,0)!= -1 || strfind(user,"USER2",true,0)!= -1)
Reply
#3

Works, thank you very much Memoryz!
Reply
#4

pawn Код:
#define or ||
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)