MAX players name
#1

Hello I get an error on this.

PHP код:
new sendername[MAX_PLAYERS_NAME
Код:
error 017: undefined symbol "MAX_PLAYERS_NAME"
error 009: invalid array size (negative, zero or out of bounds)
error 036: empty statement
Reply
#2

Try this.

PHP код:
new sendername[MAX_PLAYERS_NAME]; 
Reply
#3

Thats what I have sorry.
Reply
#4

Here;
Код:
new PlayerName[MAX_PLAYER_NAME];
Reply
#5

Wont work.
Reply
#6

Yes it will. Did you even look at your own code? Hell, did you even look at the error? Doesn't your tiny brain tell you that maybe, just maybe, you made a typing mistake?
Reply
#7

@Vince
I have to agree, you can't just say it won't work. You probably didn't even see the difference in Socan's code compared to yours..
Reply
#8

Quote:
Originally Posted by Vince
Посмотреть сообщение
Yes it will. Did you even look at your own code? Hell, did you even look at the error? Doesn't your tiny brain tell you that maybe, just maybe, you made a typing mistake?
Sorry for being new to scripting insulter.
Reply
#9

When you create a topic, you're supposed to explain what the issue is, not just say "it won't work, here:", with the errors, actually detail it. Also, don't just start saying tiny little replies, 3 words on a reply isn't really explaining what/why it won't work/the issue is.

Take a little bit of time and type out the problem, then more people could help you.

Also, you say you're new to scripting, yet you've released things? Not that new to me. Smh
Reply
#10

Sorry but I haven't released scripts on this forum if that's what you mean. But I tried to add
PHP код:
new sendername[MAX_PLAYERS_NAME]; 
at the top of the script and I have tried all of Socans answers but I still dont get it to work.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)