Raised This Month: $ Target: $400
 0% 

check plugin status


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
n0obie4life
Veteran Member
Join Date: Dec 2004
Old 05-15-2005 , 03:25  
Reply With Quote #6

Quote:
Originally Posted by XunTric
Umm...
I dont get your point...

You mean if you have numbers from 1 to 20;
and if you use number 5, then all numbers under 5 will get disabled?

What about all numbers over 5 then?

And what you mean with enable?
Are those cmds supposed to be cvars?

------------------------------------------
EDIT:

Like this?
Code:
#include <amxmodx> new bool:A new bool:B new bool:C new bool:D new bool:E public plugin_init() {     register_concmd("amx_a", "amx_a")     register_concmd("amx_b", "amx_b")     register_concmd("amx_c", "amx_c")     register_concmd("amx_d", "amx_d")     register_concmd("amx_e", "amx_e") } public amx_a() {      //Enable A      A = true } public amx_b() {      //Disable A      A = false      //Enable B      B = true } public amx_c() {      //Disable A and B      A = false      B = false      //Enable C      C = true } public amx_d() {      //Disable A,B and C      A = false      B = false      C = false      //Enable D      D = true } public amx_e() {      //Disable A,B,C and D      A = false      B = false      C = false      D = false            //Enable E      E = true }
i mean that, if i have numbers 1 to 20 and i enable 5.

ALL other numbers will be disabled (if its activated) but 5 .

then if i wanna enable 8, all the rest will be disabled.

so IOW, if 1 number is enabled, the rest will be disabled.
__________________
Plugins:
none

n0obie4life 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 16:44.


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