Raised This Month: $ Target: $400
 0% 

[HELP]How to make so you can search ur plugin at game-monitor?


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
NiQu
Veteran Member
Join Date: Nov 2009
Old 02-08-2010 , 20:00   [HELP]How to make so you can search ur plugin at game-monitor?
Reply With Quote #1

How do i make so i can search for my server variable in my plugin on game monitor?

Example: i have 5 servers running myplugin, and i added all of them to game-monitor, and i wanna search for a server variable called myplugin_version.

How do i make that variable? myplugin_version.
NiQu is offline
fysiks
Veteran Member
Join Date: Sep 2007
Location: Flatland, USA
Old 02-08-2010 , 20:29   Re: [HELP]How to make so you can search ur plugin at game-monitor?
Reply With Quote #2

I use:

PHP Code:
register_cvar("plugin_name""v1.0 by Author"FCVAR_SERVER|FCVAR_SPONLY
__________________
fysiks is offline
funstyle
Member
Join Date: Feb 2010
Location: RO, Bucharest
Old 02-08-2010 , 20:31  
Reply With Quote #3

PHP Code:
#define AUTHOR "funstyle"
#define PLUGIN "plugin name"
#define VERSION "version 1"
#define VERSION_CVAR "myplugin_version"

public plugin_init()
{
    
register_plugin(PLUGINVERSIONAUTHOR);
    
register_cvar(VERSION_CVARVERSIONFCVAR_SERVER); 

Last edited by funstyle; 10-08-2010 at 05:54.
funstyle is offline
Send a message via Yahoo to funstyle
NiQu
Veteran Member
Join Date: Nov 2009
Old 02-08-2010 , 20:35   Re: [HELP]How to make so you can search ur plugin at game-monitor?
Reply With Quote #4

Thanks both of you
Im using funstyle's method.
__________________
My Projects
  • RoTAPI V0.0.1 ------- Private
    • Progress - [||||||||||]
  • CashMod V0.0.6 ----- Public
    • Progress - [||||||||||]
  • CashMod V0.0.7 ----- Public
    • Progress - [||||||||||]
NiQu is offline
Reply



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 07:25.


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