PDA

View Full Version : Plugins in hlsw


blobby
12-01-2007, 08:29 PM
Hello all

Ive just been looking on HLSW at my dod server and i run feuersturms dod tk revenge plugin.. Well what i wanted to know was how do you get in HLSW on the cvars list your plugin name version and website as i would love to do thsi on my plugins im not 100% sure how to do it but i though it was something like below

register_cvar("PLUGINNAME", " plugin version 1.1 eg", FCVAR_SERVER|FCVAR_SPONLY)

I just kinda worked that out so please correct me if im wrong but if im right then let me know

<3

Regards

Blobby

diamond-optic
12-01-2007, 09:46 PM
put what you have up there in the plugin_init section of the plugin..

the "PLUGINNAME" is the public cvar name

and the "plugin version 1.1 eg" is the value of the public cvar


then you can do things like going to game-monitor.com and do a server variable search and get all the servers running your plugin (and see different versions or such depending on what you put in as the value)

for example (http://game-monitor.com/search.php?search=dod_shellshock_stats&type=variable)

blobby
12-01-2007, 09:47 PM
Ok thanks m8y much appreciated

blobby
12-01-2007, 09:49 PM
Wow thats well cool cheers D-O

blobby
12-02-2007, 11:49 PM
I have just updated all the plugins i have posted here or have been helped to make with this on them so please if you use any of my plugins update to them as it would be great see how many of you support my work

Blobby