24.12.2014, 22:29
I'm having a bit of problem with using ******' timers and foreach. They just don't work and I've given up hope, so I would really appreciate some help.
I tested it out by having this code:
Compiled without any errors or warnings, but nothing happens as well.
I tested it out by having this code:
pawn Код:
#include <foreach>
#include <YSI\y_timers>
timer OneSecond[1000]()
{
foreach(new i : Player)
{
if(IsPlayerConnected(i))
{
SendClientMessage(i, 0xFFFFFFFF, ".");
}
}
}