PHP Code:
register_concmd("amx_test","do_it_now",ADMIN_RCON," Between 0 & 30 )")
this is my old concmd which i used in one plug-in. now i can't find my sma anymore & i dont want to remake my plug-in again.now i want to know how can i make a task "0.5" & new cvar which works for example so :
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/OFF
amx_haha 2 28 1
in task =
in first 0.5 sec. = amx_test 2
in sec. 0.5 sec. = amx_test 28
in third 0.5 sec. = amx_test 2
& ....
__________________