SA-MP Forums Archive
SetTimerEx Error - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: SetTimerEx Error (/showthread.php?tid=581493)



SetTimerEx Error - meocahat - 13.07.2015

So, i made the code:
Код:
SetTimerEx("LayXe", 900000, false, "i", playerid);
Then, the function:

Код:
forward LayXe(playerid);
public LayXe(playerid)
{
	SendClientMessage(playerid, COLOR_YELLOW, "Vui long ve xuong va /layxe de lay xe.");
}
After 15 minutes, i didn't see the Message. Please help . . .

EDIT: So, it take about 18 minutes i think . . . To Show the Message. How to fix this ?


Re: SetTimerEx Error - M4D - 13.07.2015

Quote:

"SetTimer" and "SetTimerEx"...they are not very accurate and that they don't correctly support strings and arrays.

Use "SetTimer_" and "SetTimerEx_" and check accurately
see Here

also check This thread


Re: SetTimerEx Error - meocahat - 13.07.2015

So, how to install Fixes2 ?
Just add into server.cfg or i also need to change SetTimerEx to SetTimerEx_ ?