Raised This Month: $ Target: $400
 0% 

Why not appear in the menu of amx the cvars to change it?


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Bugg
Senior Member
Join Date: Jan 2012
Old 02-01-2014 , 16:18   Why not appear in the menu of amx the cvars to change it?
Reply With Quote #1

PHP Code:
new Minplayers 
PHP Code:
public plugin_init()     
{
    
    
    
register_logevent("minrequired"2"1=Round_End"
    
    
Minplayers register_cvar("min_players","7")
    
    

PHP Code:
public minrequired()
    if (
get_playersnum() >= get_pcvar_num(Minplayers))
        for (new 
1<= g_MaxPlayersi++)
            
                
Finalroundvote(); 
Well... dont appear this cvar to change it .. with menu amxx... WHY?

What´s wrong?

Ty
Bugg is offline
YamiKaitou
Has a lovely bunch of coconuts
Join Date: Apr 2006
Location: Texas
Old 02-01-2014 , 16:27   Re: Why not appear in the menu of amx the cvars to change it?
Reply With Quote #2

What menu are you talking about?
__________________
ProjectYami Laboratories

I do not browse the forums regularly anymore. If you need me for anything (asking questions or anything else), then PM me (be descriptive in your PM, message containing only a link to a thread will be ignored).
YamiKaitou is offline
Bugg
Senior Member
Join Date: Jan 2012
Old 02-01-2014 , 17:04   Re: Why not appear in the menu of amx the cvars to change it?
Reply With Quote #3

Menu admin.. when u are playing cs 1.6.
Bugg is offline
YamiKaitou
Has a lovely bunch of coconuts
Join Date: Apr 2006
Location: Texas
Old 02-01-2014 , 17:05   Re: Why not appear in the menu of amx the cvars to change it?
Reply With Quote #4

Within amx_cvarmenu? Did you add the cvar to the cvars.ini file?
__________________
ProjectYami Laboratories

I do not browse the forums regularly anymore. If you need me for anything (asking questions or anything else), then PM me (be descriptive in your PM, message containing only a link to a thread will be ignored).
YamiKaitou is offline
Bugg
Senior Member
Join Date: Jan 2012
Old 02-01-2014 , 17:41   Re: Why not appear in the menu of amx the cvars to change it?
Reply With Quote #5

Not required.
Automatically put alone.
When you install plugins that automatically cvars go out alone in the admin menu.

Example: Galileo. or admin_chat_colors ..
Bugg is offline
YamiKaitou
Has a lovely bunch of coconuts
Join Date: Apr 2006
Location: Texas
Old 02-01-2014 , 17:46   Re: Why not appear in the menu of amx the cvars to change it?
Reply With Quote #6

AMXX is not designed that way, you must manually add the cvars you want to that file
__________________
ProjectYami Laboratories

I do not browse the forums regularly anymore. If you need me for anything (asking questions or anything else), then PM me (be descriptive in your PM, message containing only a link to a thread will be ignored).
YamiKaitou is offline
ConnorMcLeod
Veteran Member
Join Date: Jul 2006
Location: France (95)
Old 02-02-2014 , 04:36   Re: Why not appear in the menu of amx the cvars to change it?
Reply With Quote #7

Quote:
Originally Posted by YamiKaitou View Post
AMXX is not designed that way, you must manually add the cvars you want to that file
Yes and no, there are 2 menus, 1 taking the .ini file in account, the other one regrouping all cvars.


Have you tried to change the cvar name ?
Does your plugin appear in plugins list (in that menu) ? Try to register a 2nd cvar in that plugin, for testing purpose.
__________________
- tired and retired -

- my plugins -

Last edited by ConnorMcLeod; 02-02-2014 at 04:37.
ConnorMcLeod 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 20:50.


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