AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   Gametracker : Variables (https://forums.alliedmods.net/showthread.php?t=293321)

ish12321 01-29-2017 06:36

Gametracker : Variables
 
How to check which serveru uses my plugin
How to configure my plugin for such thing ?

indraraj striker 01-29-2017 07:22

Re: Gametracker : Variables
 
PHP Code:

register_cvar("myplugin_version" "1.0" FCVAR_SPONLY FCVAR_SERVER); 

in gametracker search myplugin_version

ish12321 01-29-2017 09:35

Re: Gametracker : Variables
 
Quote:

Originally Posted by indraraj striker (Post 2490799)
PHP Code:

register_cvar("myplugin_version" "1.0" FCVAR_SPONLY FCVAR_SERVER); 

in gametracker search myplugin_version

Fcvar only and these constants....
Where can i find them

OciXCrom 01-29-2017 09:40

Re: Gametracker : Variables
 
https://wiki.alliedmods.net/Scripting_Cvars_(AMX_Mod_X)

PHP Code:

register_cvar("CoolCvar""version here"FCVAR_SERVER|FCVAR_SPONLY|FCVAR_UNLOGGED



All times are GMT -4. The time now is 20:58.

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