Simple scripting question
#1

Hey,
I'm using
new pName[MAX_PLAYER_NAME][MAX_PLAYERS];
to store every player's name to an array..
But I just thought, shouldn't it be
new pName[MAX_PLAYERS][MAX_PLAYER_NAME];
?

I didn't had problems with it, but maybe because I have never had more than 24 (MAX_PLAYER_NAME) players in my server?
Reply
#2

Код:
new pName[MAX_PLAYERS]/* For every Player */[MAX_PLAYER_NAME]; // 24 Chars for every Playername
Reply
#3

The length of the text should always be last
Reply
#4

Ok, thank you guys
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)