|
Author
|
Message
|
|
Member
|

01-17-2013
, 01:58
Rotate server_cmd()
|
#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.
|
|
|
|