Help y_timers
#1

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]--;
	}
}
Reply
#2

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
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)