Raised This Month: $ Target: $400
 0% 

[ANY] Simple Mysql Whitelist


Post New Thread Reply   
 
Thread Tools Display Modes
Author
Teamkiller324
Senior Member
Join Date: Feb 2014
Location: Earth
Plugin ID:
5331
Plugin Version:
1.5
Plugin Category:
Server Management
Plugin Game:
Any
Plugin Dependencies:
    Servers with this Plugin:
     
    Plugin Description:
    Mysql database whitelister to control player access to server[s].
    Old 08-24-2021 , 10:11   Re: [ANY] Simple Mysql Whitelist
    Reply With Quote #1

    Using OnClientConnect would be instant kick as it's fired before player_connect but could be too early to call the steamid, you could possibly use event player_connect or OnClientConnected otherwise since you can get the steamid there, these are called before OnClientAuthorized.

    Here's a slight change in code.
    Attached Files
    File Type: sp Get Plugin or Get Source (simple_mysql_whitelister.sp - 116 views - 21.8 KB)
    __________________

    Last edited by Teamkiller324; 08-24-2021 at 10:25.
    Teamkiller324 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 13:28.


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