Quote:
Originally Posted by redivcram
Use the for loop
I'm no pro, but this might help you... and remove the "set_task"s
|
No. A for loop will execute just as fast as multiples of the same command one after the other.
Quote:
Originally Posted by 4ever16
Solved it: client_cmd(0, "say_team B B B;wait;say_team B B B;wait;say_team B B B")
|
This will not work for anybody that is using cl_filterstuffcmd 1 FYI (and everybody should have this set to 1, IMO).
The proper way would be to use set_task() with engclient_cmd() like so:
PHP Code:
public function(id)
{
set_task(0.2, "saycommand", id)
}
public saycommand(id)
{
engclient_cmd(id, "say_team", "lol")
}
__________________