Raised This Month: $ Target: $400
 0% 

Rotate server_cmd()


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
chungsy
Member
Join Date: Nov 2011
Old 01-17-2013 , 01:58   Rotate server_cmd()
Reply With Quote #1

How do I keep rotating a server_cmd() for a certain amount for time?

I tried to do the following but failed the map changes when I tried to make it repeat :


public START(id, level, cid)
{
server_cmd("exec ^"%s^"", COMMANDHERE);

set_task(30,"REPEAT");
}

public REPEAT(id, level, cid)
{
server_cmd("exec ^"%s^"", COMMANDTWOHERE);

set_task(30, "START"); <-- The map will change here, how to slove it?
}

Last edited by chungsy; 01-17-2013 at 01:59.
chungsy is offline
 


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 23:55.


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