Small Textdraw with timer problem.
#1

Код:
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.
Reply
#2

SetTimerEx not SetTimer I think/
Reply
#3

Nvm, didn't read the whole thing lulz.
Reply
#4

no i set it settimerex and worked. thanks for helping me both.

Код:
SetTimerEx("questionsdraw",3000,0,"i", playerid);
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)