Raised This Month: $ Target: $400
 0% 

Auto Ip Kick Plugin


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
fysiks
Veteran Member
Join Date: Sep 2007
Location: Flatland, USA
Old 07-22-2010 , 18:43   Re: Auto Ip Kick Plugin
Reply With Quote #7

Quote:
Originally Posted by nikhilgupta345 View Post
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 View Post
Ok, so I edited it to make it kick by steamid.
No offense, I'm not sure that I believe you.
__________________
fysiks is offline
 



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 00:07.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode