AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   [HELP] Regarding client connect (https://forums.alliedmods.net/showthread.php?t=232665)

connoisseur 01-03-2014 02:51

[HELP] Regarding client connect
 
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... }

BlueGaming 01-03-2014 04:58

Re: [HELP] Regarding client connect
 
what you try to do more precisly show all code :D


All times are GMT -4. The time now is 10:06.

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