Raised This Month: $ Target: $400
 0% 

AMXBans ban by SID


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
Viera
Senior Member
Join Date: Sep 2008
Location: Poland
Old 06-16-2010 , 12:20   AMXBans ban by SID
Reply With Quote #1

Hi I edit cmdBan.inl and delete insert ip player in banning
after I edit check_player.inl:

After
Code:
135     SQL_ReadResult(query, 12, ban_type, 3)
I added


Code:
if(equali(ban_type, "S"))
                    {
                        get_user_authid(id, authid, 24)
                        if(!equal(player_steamid, authid))
                        {
                                return PLUGIN_HANDLED
                        }
                    }
                    else if(equali(ban_type, "SI"))
                    {
                        get_user_authid(id, authid, 24)
                        if(!equal(player_steamid, authid))
                        {
                                return PLUGIN_HANDLED
                        }
               }
But bans doesnt work... (if I don't insert player ip bans doesn't work).
How to edit to ban only steam without IP?
Viera is offline
 


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:46.


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