Raised This Month: $ Target: $400
 0% 

Menu with cvar


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
Debesėlis
Senior Member
Join Date: Aug 2008
Location: Lithuania
Old 10-13-2010 , 03:52   Menu with cvar
Reply With Quote #1

Hello, why doesn`t show how much HP will give...?

Example:
PHP Code:
new g_Hp;

public 
plugin_init ( ) {
    
g_Hp register_cvar"amx_give_hp""50" );
}

menu_additemmenu"Give HP (+%s HP)""1"0get_pcvar_numg_Hp ) ); 
Doesn`t work and this:
PHP Code:
menu_additemmenu"Give HP (+get_pcvar_num( g_Hp ) HP)""1"); 
Debesėlis 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 10:28.


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