Use
Code:
ExecuteHamB( Ham_CS_RoundRespawn, 1 )
The current function you're using (spawn()) is not guarunteed to work, unless you correctly use the "fix".
If you're really bent on using spawn(), you can follow Avalanche's instructions from the AMXX Doc;
Quote:
|
Originally Posted by Avalanche @ AMXX Doc
People have had trouble getting this to work, the below seems to be the "correct" way to do it without any bugs:
Code:
public soandso(id)
{
spawn(id);
set_task(0.5,"spawnagain",id);
}
public spawnagain(id) {
spawn(id);
}
You can play around with the 0.5 time.
|
In your version, you're setting a task for spawnagain, but you're not calling the actual spawn function beforehand.
__________________