Raised This Month: $ Target: $400
 0% 

[HELP] Regarding client connect


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
connoisseur
Senior Member
Join Date: Jan 2012
Old 01-03-2014 , 02:51   [HELP] Regarding client connect
Reply With Quote #1

I have put an entry check whenever a player connects, based on a certain condition.
There's a cvar that enables/disables entry checking. But it doesn't seem to work.
Even if I disable the checking, it still keeps on checking.

Code:
Code:
public plugin_init() {     .......     g_entrycheck = register_cvar("check_entry", "1") } public client_connect(id) {     if( !get_pcvar_num(g_entrycheck) )         return PLUGIN_HANDLED     // check entry... }
connoisseur is offline
 



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 10:06.


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