[Question]
Is there any command that can repeat script every 10min
Like i need to repeat this script every 10mins: Code:
|
Re: [Question]
Yes, u can use set_task and make it repeat every 10 minutes. Tha means 600.0 seconds
Do it like that : set_task(600.0, "taskname",_,_,_,"b") and then on the public taskname put your code. |
Re: [Question]
Quote:
|
Re: [Question]
Quote:
Code:
public taskname(id) |
Re: [Question]
got it ty
|
Re: [Question]
dude >:(
Code:
Code:
|
Re: [Question]
@Akka3223
what you excatly trying to do? why you using 30 sec from start round? I do not see any Public. So it does have problems with ENT maybe:? Code:
public plugin_init() { |
Re: [Question]
Code:
|
Re: [Question]
Quote:
|
Re: [Question]
Quote:
public plugin_init() { register_plugin(PLUGIN, VERSION, AUTHOR) register_forward(FM_Touch, "fwd_Touch") register_event("HLTV", "round_start", "a", "1=0", "2=0") register_clcmd("dm_menu", "display_items_menu") g_Menu = menu_create("DM Item's Menu","menu_item") set_task(TIME_TASK, "task_repeat", 0, _, _, "b") } <----------- MUST? |
| All times are GMT -4. The time now is 21:04. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.