11.01.2011, 02:40
Quote:
To Debugged when the timer is start etc... Because sometimes my sever is shutdown, and I can't find the problem.
|
pawn Код:
// Wherever you are calling the timer.
SetTimer("TestMessage", 5000, false); // or SetTimerEx if you need params.
print("Timer started. (#TestMessage)");
// Your callback
forward TestMessage();
public TestMessage()
{
print("Timer done, callback called. (#TestMessage)");
}