AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Scripting Help (https://forums.alliedmods.net/forumdisplay.php?f=11)
-   -   Servers using this plugin (https://forums.alliedmods.net/showthread.php?t=143663)

Desikac 11-22-2010 16:28

Servers using this plugin
 
How to make that "Servers using this plugin" thingy?
I saw some plugins here having that option.

:)

Schwabba 11-22-2010 22:21

Re: Servers using this plugin
 
Register a cvar with:

PHP Code:

register_cvar(PLUGINVERSIONFCVAR_SPONLY|FCVAR_SERVER

then you have a new server variable and you can search it on http://www.game-monitor.com/

Example:

PHP Code:

new PLUGIN[]  = "SuperPlugin"
new AUTHOR[]  = "Schwabba"
new VERSION[] = "1.0"

public plugin_init()
{
    
register_plugin(PLUGINVERSIONAUTHOR)
    
register_cvar(PLUGINVERSIONFCVAR_SPONLY|FCVAR_SERVER)


Then you can search for server variable: SuperPlugin.


All times are GMT -4. The time now is 11:23.

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