Raised This Month: $ Target: $400
 0% 

[SOLVED]add new cvar for old concmd


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
One
Veteran Member
Join Date: Oct 2008
Location: Hardstyle-eSports.de
Old 10-14-2009 , 04:53   [SOLVED]add new cvar for old concmd
Reply With Quote #1

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
& ....
__________________

Last edited by One; 10-15-2009 at 10:55.
One is offline
Send a message via ICQ to One Send a message via AIM to One Send a message via MSN to One Send a message via Yahoo to One Send a message via Skype™ to One
 


Thread Tools
Display Modes

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 22:42.


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