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

Block user to join my server


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
n0way0out
Junior Member
Join Date: Mar 2013
Old 04-05-2013 , 02:19   Block user to join my server
Reply With Quote #1

is there any code to block user to connect my server if that user value not match in my table field .

like i have one table and 3 field name . 1. name , 2 status and 3 password .

if user try to connec then if his status not activate then he cant conect my server .
n0way0out is offline
ConnorMcLeod
Veteran Member
Join Date: Jul 2006
Location: France (95)
Old 04-05-2013 , 02:21   Re: Block user to join my server
Reply With Quote #2

If it is 1 or few known player, ban him/them

Else you can use amx_mode 2 :

Code:
// Mode of logging to a server
// 0 - disable logging, players won't be checked (and access won't be set)
// 1 - normal mode which obey flags set in accounts
// 2 - kick all players not on list
//
// Default value: 1
amx_mode 1
__________________
- tired and retired -

- my plugins -
ConnorMcLeod 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 07:51.


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