Timer trouble
#9

Quote:
Originally Posted by Joe_
pawn Код:
new Text:Vers; // Top of script

stock version(playerid)
{
   TextDrawHideForPlayer(playerid, Text:Vers);
   return 1;
}

// On Player Connect, or whatever, any function that contains 'playerid'
TextDrawShowForPlayer(playerid, Text:Vers);
SetTimerEx("version",5000, 0, "i", playerid);
Should work lol
Timers must call public functions.

As for why it's not working, my only guess would be that the code doesn't know what playerid is.
Reply


Messages In This Thread
Timer trouble - by Razvann - 06.04.2010, 08:22
Re: Timer trouble - by Hiddos - 06.04.2010, 09:13
Re: Timer trouble - by Razvann - 06.04.2010, 09:41
Re: Timer trouble - by Hiddos - 06.04.2010, 09:43
Re: Timer trouble - by Razvann - 06.04.2010, 09:46
Re: Timer trouble - by Joe_ - 06.04.2010, 09:49
Re: Timer trouble - by Razvann - 06.04.2010, 09:53
Re: Timer trouble - by Hiddos - 06.04.2010, 09:59
Re: Timer trouble - by biltong - 06.04.2010, 10:49

Forum Jump:


Users browsing this thread: 2 Guest(s)