Fastest way to reset Enum with loop not working
#1

Fastest way to reset Enum with loop not working

Hello,
I have very big Enum to store players data, his length about 100...

I used this code OnPlayerConnect:
Код:
for(new i; i<sizeof(PEnum); i++)
		{
			PInfo[playerid][i] = 0;
		}
But I got strange errors:
Quote:

X(1) : error 039: constant symbol has no size
X(3) : warning 213: tag mismatch

I know what the errors means but why the code isn't working?
Thanks for help!
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 2 Guest(s)