Raised This Month: $ Target: $400
 0% 

amxbans


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Rohanlogs
Senior Member
Join Date: Nov 2015
Old 07-03-2017 , 00:06   Re: amxbans
Reply With Quote #1

Quote:
Originally Posted by RAW_192 View Post
Is this the right way to ban using advance bans?
Hi.
If you're using AdvancedBans by Exolent, this should be compatible with it
Code:
    new szReason[ ] = "noob"     new szIP[ 32 ], szName[ 32 ] szAuth[ 32 ]     get_user_ip( index, szIP, charsmax( szIP ), 1 )     get_user_name( index, szName, charsmax( szName ) )     get_user_authid( index, szAuth, charsmax( szAuth ) )         //target is connected     server_cmd( "amx_ban ^"%s^" 0 ^"%s^"", szAuth, szReason )         //target not in server     //server_cmd( "amx_addban ^"%s^" ^"%s^" 0 ^"%s^"", szName, szIP, szReason )     //server_cmd( "amx_addban ^"%s^" ^"%s^" 0 ^"%s^"", szName, szAuth, szReason )
If its something else you should be able to make it by looking at this
__________________

Last edited by Rohanlogs; 07-03-2017 at 00:23.
Rohanlogs is offline
Reply



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 22:49.


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