Small Textdraw with timer problem. - 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)
+---- Forum: Help Archive (
https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Small Textdraw with timer problem. (
/showthread.php?tid=170472)
Small Textdraw with timer problem. -
billiout - 23.08.2010
Код:
forward questionsdraw(playerid);
//on menu item
TextDrawShowForPlayer(playerid,loading);
SetTimer("questionsdraw",3000,0);
public questionsdraw(playerid)
{
TextDrawShowForPlayer(playerid,questions);
return 1;
}
i have this code on a menu item. i press the item and works fine. it shows me the loading testdraw but after 3 secs doesnt show me the questions textdraw. i dont know why. all it seems ok with no errors.
Re: Small Textdraw with timer problem. -
Retardedwolf - 23.08.2010
SetTimerEx not SetTimer I think/
Re: Small Textdraw with timer problem. -
[HiC]TheKiller - 23.08.2010
Nvm, didn't read the whole thing lulz.
Re: Small Textdraw with timer problem. -
billiout - 23.08.2010
no i set it settimerex and worked. thanks for helping me both.
Код:
SetTimerEx("questionsdraw",3000,0,"i", playerid);