Raised This Month: $ Target: $400
 0% 

new cvar


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
sniejder
Member
Join Date: Feb 2011
Old 03-14-2011 , 14:26   new cvar
#1

hola quien me podria explicar como agregar un new cvar a mi codigo para activar o desactivar el plugin

PHP Code:
#include <amxmodx>
#include <fakemeta>

new const CONST_HOST[] = "NTSV Pug 001 (LIVE) - Valencia,VE";

public 
plugin_init()
    
register_forward(FM_StartFrame"Fwd_ServerFrame")

public 
Fwd_ServerFrame()
    
server_cmd("hostname ^"%s^""CONST_HOST
si pueden expliquenme como se hace para crear un new cvar eh visto tutoriales pero no consigo hacerlo bien :S
__________________
SneijdeR cs 1.6

[IMG]http://img7.**************/img7/9841/basicrepository3dabstra.jpg[/IMG]

[IMG]http://img40.**************/img40/920/fondofinalag6.jpg[/IMG]



I'AM FAN MOD PUG
sniejder is offline
 



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 01:15.


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