Quote:
Originally Posted by nikhilgupta345
Are you allowed to use the or operator when using equali?
If so, would it be like this?
Code:
if(equali(a,b) || equali(c,d) || equali(e,f))
{
//some code here
}
Also, what's the difference between equal and equali?
|
Yes, you can use the OR operator like that but you don't need to use it.
"i" means case
insensitive.
You need to realize that your cvars are strings, not numbers. I would suggest that you write tbe plugin without any cvars first. Get it working with a single SteamID: new const szSteamID[] = "STEAM_0:0:1234". When you get it working with one SteamID then you can expand it to more and I would not recommend cvars either.
Quote:
Originally Posted by nikhilgupta345
Ok, so I edited it to make it kick by steamid.
|
No offense, I'm not sure that I believe you.
__________________