Raised This Month: $32 Target: $400
 8% 

Auto-Ban after reaching a frag limit


Post New Thread Reply   
 
Thread Tools Display Modes
OciXCrom
Veteran Member
Join Date: Oct 2013
Location: Macedonia
Old 07-18-2020 , 09:06   Re: Auto-Ban after reaching a frag limit
Reply With Quote #11

Previously you said you were banned as an admin, now you're saying it's not working? If your friend had admin flag "s", he can't get banned. Make sure the ban command is set properly for your ban plugin.
__________________

Last edited by OciXCrom; 07-18-2020 at 10:17.
OciXCrom is offline
Send a message via Skype™ to OciXCrom
allroundernaman
Member
Join Date: May 2020
Location: Somewhere Virtual
Old 07-18-2020 , 10:03   Re: Auto-Ban after reaching a frag limit
Reply With Quote #12

I m really sorry but I think that ban was caused by some other plugin (family matter my brother did some mischief).

I have already posted the modified code what's wrong then?
__________________
SELLING COUNTER STRIKE SERVERS!! [email protected]

Website: https://namanvrati.cf/
Cheap Rates/ Renting also available.
Introducing myself: This is Naman Vrati, call me NamVr! I am a web developer and Counter Strike Server Manager, I own a server.

Piano Is My Life
allroundernaman is offline
OciXCrom
Veteran Member
Join Date: Oct 2013
Location: Macedonia
Old 07-18-2020 , 10:17   Re: Auto-Ban after reaching a frag limit
Reply With Quote #13

Probably the ban command or the player having admin flag "s".

Code:
#define BAN_COMMAND "amx_ban 180 #%i ^"Frag Limit Over^""
__________________

Last edited by OciXCrom; 07-18-2020 at 10:18.
OciXCrom is offline
Send a message via Skype™ to OciXCrom
allroundernaman
Member
Join Date: May 2020
Location: Somewhere Virtual
Old 07-18-2020 , 11:45   Re: Auto-Ban after reaching a frag limit
Reply With Quote #14

Quote:
Originally Posted by OciXCrom View Post
Probably the ban command or the player having admin flag "s".

Code:
#define BAN_COMMAND "amx_ban 180 #%i ^"Frag Limit Over^""
Is this the correct code or the mistake?
__________________
SELLING COUNTER STRIKE SERVERS!! [email protected]

Website: https://namanvrati.cf/
Cheap Rates/ Renting also available.
Introducing myself: This is Naman Vrati, call me NamVr! I am a web developer and Counter Strike Server Manager, I own a server.

Piano Is My Life
allroundernaman is offline
OciXCrom
Veteran Member
Join Date: Oct 2013
Location: Macedonia
Old 07-18-2020 , 12:37   Re: Auto-Ban after reaching a frag limit
Reply With Quote #15

I can't know what command you use in your server! Change it to whatever you have.
__________________
OciXCrom is offline
Send a message via Skype™ to OciXCrom
allroundernaman
Member
Join Date: May 2020
Location: Somewhere Virtual
Old 07-18-2020 , 14:54   Re: Auto-Ban after reaching a frag limit
Reply With Quote #16

Quote:
Originally Posted by OciXCrom View Post
I can't know what command you use in your server! Change it to whatever you have.
I use the official AmxModX only. It is amx_ban only.
Still the plugin is not working.
Actually I don't know but it is not kicking/banning any one.
__________________
SELLING COUNTER STRIKE SERVERS!! [email protected]

Website: https://namanvrati.cf/
Cheap Rates/ Renting also available.
Introducing myself: This is Naman Vrati, call me NamVr! I am a web developer and Counter Strike Server Manager, I own a server.

Piano Is My Life
allroundernaman is offline
OciXCrom
Veteran Member
Join Date: Oct 2013
Location: Macedonia
Old 07-18-2020 , 17:33   Re: Auto-Ban after reaching a frag limit
Reply With Quote #17

The default AMXX plugin is amx_ban <name or #userid> <minutes> [reason]
This one is <minutes> <name or #userid> [reason]

Notice the difference? Edit it.
__________________
OciXCrom is offline
Send a message via Skype™ to OciXCrom
allroundernaman
Member
Join Date: May 2020
Location: Somewhere Virtual
Old 07-19-2020 , 06:15   Re: Auto-Ban after reaching a frag limit
Reply With Quote #18

Quote:
Originally Posted by OciXCrom View Post
The default AMXX plugin is amx_ban <name or #userid> <minutes> [reason]
This one is <minutes> <name or #userid> [reason]

Notice the difference? Edit it.
Yes got it.
Can I have some scripting related questions here?

Quote:
#define BAN_COMMAND "amx_ban #%i 180 ^"Frag Limit Over^""
Like I did this, then what is
Code:
^"Frag Limit Over^
? I mean What is the use of ^^ symbol?

Also as I told earlier:
Quote:
Originally Posted by allroundernaman View Post
Really thanks. Can you teach me how can I convert these variables into cvars?
As I mentioned in the question?
Much confusion!
__________________
SELLING COUNTER STRIKE SERVERS!! [email protected]

Website: https://namanvrati.cf/
Cheap Rates/ Renting also available.
Introducing myself: This is Naman Vrati, call me NamVr! I am a web developer and Counter Strike Server Manager, I own a server.

Piano Is My Life
allroundernaman is offline
OciXCrom
Veteran Member
Join Date: Oct 2013
Location: Macedonia
Old 07-19-2020 , 07:56   Re: Auto-Ban after reaching a frag limit
Reply With Quote #19

Quote:
? I mean What is the use of ^^ symbol?
As you can see, the entire line is surrounded with "quotes", so in order to insert another quote inside them, you need to use the escape character ^. You can't just do "quote "another quote"".
__________________
OciXCrom is offline
Send a message via Skype™ to OciXCrom
allroundernaman
Member
Join Date: May 2020
Location: Somewhere Virtual
Old 07-19-2020 , 07:57   Re: Auto-Ban after reaching a frag limit
Reply With Quote #20

Quote:
Originally Posted by OciXCrom View Post
As you can see, the entire line is surrounded with "quotes", so in order to insert another quote inside them, you need to use the escape character ^. You can't just do "quote "another quote"".
Yes I got it. But Probably you have not seen the cvar question?
__________________
SELLING COUNTER STRIKE SERVERS!! [email protected]

Website: https://namanvrati.cf/
Cheap Rates/ Renting also available.
Introducing myself: This is Naman Vrati, call me NamVr! I am a web developer and Counter Strike Server Manager, I own a server.

Piano Is My Life
allroundernaman is offline
Reply


Thread Tools
Display Modes

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 14:09.


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