[SOLVED]add new cvar for old concmd
PHP Code:
amx_haha <minimum> <maximum> <1 = on , 0 = off> in my task i want to change the amx_test cvar every 0.5 sec. to the numbers which my admin want. again a example : Code:
Cvar Min. Max. ON/OFFin first 0.5 sec. = amx_test 2 in sec. 0.5 sec. = amx_test 28 in third 0.5 sec. = amx_test 2 & .... |
Re: add new cvar for old concmd
Uh? amx_test isn't a cvar.
|
Re: add new cvar for old concmd
example? i writed 1 year ago a plugin & now i dont have the sma anymore & i dont want to rewrite the plug-in :( when i use this as script like :
amx_EXAMPLE 2;wait;amxEXAMPLE 20;wait........... is a little bit silly & i cant do anything. i tough i can do it with a plugin to turning the plugin on/off. |
Re: add new cvar for old concmd
Quote:
|
Re: add new cvar for old concmd
hmmm...
ok i say it with an example :Day light i hope you know this plugin. here we have a cvar = amx_light 0-28. so i want to make a plugin which turns amx_light to that what i want in loop. when i use amx_makelight 2 20 1 then my plugin changes cvar amx_light to 2 and after 0.5 sec. changes to amx_light 20. when i use amx_makelight 0, so is my loop off. :(( i hope you understand. i dont know how to write it with examples :( |
Re: add new cvar for old concmd
set a looping task
increment a value switch the value |
Re: add new cvar for old concmd
yay but i dont know how can i get the value :
amx_cvar <first.value> <secund.value> <ON/OFF> |
Re: add new cvar for old concmd
I thought you assign the value.
|
Re: add new cvar for old concmd
all my admins can use this cvar.:(
idk which values they will use. |
Re: add new cvar for old concmd
Quote:
|
| All times are GMT -4. The time now is 22:42. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.