[Solved] Error 033: array must be indexed
1 Attachment(s)
I have stuck on this wried error and I cant fix this...
I wanna save climber timer when he was disconnect and when the climber came back server, timer will set to when he was left the server. here is the pic of error https://forums.alliedmods.net/attach...1&d=1281950015 here is declaration of timersave PHP Code:
PHP Code:
if that will be so smooth.. here is my whole save pos and timer code down here what I trying to transform from Climb to Kz-Arg PHP Code:
when player putinserver PHP Code:
|
Re: Error 033: array must be indexed
Show the declaration of timersave.
|
Re: Error 033: array must be indexed
Quote:
PHP Code:
|
Re: Error 033: array must be indexed
There are numerous things that need fixing in your code. For this particular error:
timersave array is 2-dimensional and you are using it as a 1-dimension array. timersave[32][15] timersave[savepos] = g_playertime[id] The compiler expects this: timersave[savepos][ some_other_index ] = g_playertime[id] |
Re: Error 033: array must be indexed
Quote:
|
| All times are GMT -4. The time now is 21:55. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.