Textdraw don't appear.
#10

paycheck(playerid)
SetTimer("paycheck",10000,false);

this mistake, i made it very much when i started scripting.
If you only SetTimer, the timer does not know for which playerid to call the paycheck

delete the timer in OnPlayerSpawn, and add this:
pawn Код:
SetTimerEx("paycheck",10000,false,"i",playerid);
this will call the function, with the players id

btw, same goes for all public functions, called with a timer, which requires a playerid or something else
Reply


Messages In This Thread
Textdraw don't appear. - by TaLhA XIV - 10.08.2012, 08:17
Re: Textdraw don't appear. - by Dawnz - 10.08.2012, 08:19
Re: Textdraw don't appear. - by TaLhA XIV - 10.08.2012, 09:16
Re: Textdraw don't appear. - by tyler12 - 10.08.2012, 09:18
Re: Textdraw don't appear. - by TaLhA XIV - 10.08.2012, 09:27
Re: Textdraw don't appear. - by [jS]Thomas - 10.08.2012, 09:29
Re: Textdraw don't appear. - by TaLhA XIV - 10.08.2012, 09:33
Re: Textdraw don't appear. - by [jS]Thomas - 10.08.2012, 09:37
Re: Textdraw don't appear. - by TaLhA XIV - 10.08.2012, 10:36
Re: Textdraw don't appear. - by Jstylezzz - 10.08.2012, 10:40

Forum Jump:


Users browsing this thread: 1 Guest(s)