Posts: 263
Threads: 11
Joined: Nov 2014
01.12.2014, 19:59
(
Last edited by Write; 17/12/2014 at 06:43 PM.
)
fixed it, had to hook the arrays to compare the two
Posts: 1,578
Threads: 15
Joined: Feb 2013
Reputation:
0
Use MAX_PLAYER_NAME instead of sizeof(LastAdmin[countt]) because it's a 2D array.
Posts: 420
Threads: 6
Joined: Dec 2013
Reputation:
0
You're probably missing a ";" above the error line.
Give us the line above the error line
Posts: 263
Threads: 11
Joined: Nov 2014
Quote:
Originally Posted by Stinged
Use MAX_PLAYER_NAME instead of sizeof(LastAdmin[countt]) because it's a 2D array.
|
What? that dosen't make sense, I am using LastAdmin[countt] for something else, why would I just replace it with MAX_PLAYER_NAME if it is already defined as one here new LastAdmin[21][MAX_PLAYER_NAME];
Quote:
Originally Posted by Runn3R
You're probably missing a ";" above the error line.
Give us the line above the error line
|
I'm not, I even moved the code it gives me the new line with that code there.
Posts: 420
Threads: 6
Joined: Dec 2013
Reputation:
0
LastAdmin[21][MAX_PLAYER_NAME]
This is basicly: LastAdmin[21][24]...
Posts: 263
Threads: 11
Joined: Nov 2014
Quote:
Originally Posted by Runn3R
LastAdmin[21][MAX_PLAYER_NAME]
This is basicly: LastAdmin[21][24]...
|
That dosen't make any sense at all -_-
Posts: 263
Threads: 11
Joined: Nov 2014
Posts: 420
Threads: 6
Joined: Dec 2013
Reputation:
0
Can you give us the full code? We can't help you like this -.-
Posts: 263
Threads: 11
Joined: Nov 2014
01.12.2014, 20:21
(
Last edited by Write; 01/12/2014 at 11:04 PM.
)
fixed