Gives me an error even thought there ain't nothing wrong?
#1

fixed it, had to hook the arrays to compare the two
Reply
#2

Use MAX_PLAYER_NAME instead of sizeof(LastAdmin[countt]) because it's a 2D array.
Reply
#3

You're probably missing a ";" above the error line.
Give us the line above the error line
Reply
#4

Quote:
Originally Posted by Stinged
View Post
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
View Post
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.
Reply
#5

LastAdmin[21][MAX_PLAYER_NAME]
This is basicly: LastAdmin[21][24]...
Reply
#6

Quote:
Originally Posted by Runn3R
View Post
LastAdmin[21][MAX_PLAYER_NAME]
This is basicly: LastAdmin[21][24]...
That dosen't make any sense at all -_-
Reply
#7

Code:
GetPlayerName(playerid, LastAdmin[countt], 24);
MAX_PLAYER_NAME == 24 it is already defined inside a_samp.
So yeah.
Reply
#8

deleted
Reply
#9

Can you give us the full code? We can't help you like this -.-
Reply
#10

fixed
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)