02.01.2014, 19:22
Quote:
Nice, but what if Wait is inside a loop, a return, or perhaps like this:
pawn Code:
pawn Code:
|
Code:
#define Wait(%0)<%1,%2,%3> return SetTimerEx("@wait_"#%1,%0,false,%2,%3); } \ forward @wait_%1(%3); @wait_%1(%3) {
Code:
public OnPlayerConnect(playerid) { Wait(1000)<a,"i",playerid>; SendClientMessage(playerid, -1, "Welcome."); // No Undefined symbol "playerid" :D }