Help y_timers - 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: Help y_timers (
/showthread.php?tid=520999)
Resloved: Help y_timers -
Raefal - 21.06.2014
I got error from y_timers, this is the error:
error 047: array sizes do not match, or destination array is too small
my code
Код:
ptask OnOneSecond[1000](playerid)
{
if(PlayerInfo[playerid][pNewbieTimer] > 0)
{
PlayerInfo[playerid][pNewbieTimer]--;
}
}
Re: Help y_timers -
Raefal - 21.06.2014
Resolved, problem found if i use:
#undef MAX_PLAYERS
#define MAX_PLAYERS (100)
on my script, then i must undef MAX_PLAYERS first, then including Y_Timers, sorry for my bad english