Raised This Month: $ Target: $400
 0% 

Rotate server_cmd()


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
chungsy
Member
Join Date: Nov 2011
Old 01-21-2013 , 16:39   Re: Rotate server_cmd()
Reply With Quote #7

I actually don't know how to write, but fysiks was right ->Execute file_one.cfg then execute file_two.cfg then execute file_one.cfg then execute file_two.cfg etc.


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"); <-- I WAS TRYING TO EXECUTE THE FIRST TAST AGAIN


thats all I did. Can someone quickly show me some examples? Just repeating it.

Last edited by chungsy; 01-21-2013 at 16:41.
chungsy is offline
 



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:56.


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