MAX_PLAYERS and MAX_PLAYER_NAME
#5

Quote:
Originally Posted by Jochemd
Посмотреть сообщение
Max players after a new string? Sounds like a bad idea, cause you would put (if standard) 500 cells in the string.

MAX PLAYERS should be used in a loop, if you want to loop through all players. MAX PLAYER NAME is 24 and should be used when you get a players name with GetPlayerName.
MAX PLAYERS is the same as 500... then if your server isn't a 500 slots server it's totally useless...
It would be better to put on the top of your gamemode
pawn Код:
#undef MAX_PLAYERS
#define MAX_PLAYERS (number_of_your_slots)
Reply


Messages In This Thread
MAX_PLAYERS and MAX_PLAYER_NAME - by Seven_of_Nine - 11.04.2011, 16:23
Re: MAX_PLAYERS and MAX_PLAYER_NAME - by Jochemd - 11.04.2011, 16:24
Re: MAX_PLAYERS and MAX_PLAYER_NAME - by Seven_of_Nine - 11.04.2011, 16:28
Re: MAX_PLAYERS and MAX_PLAYER_NAME - by Jochemd - 11.04.2011, 16:31
Re: MAX_PLAYERS and MAX_PLAYER_NAME - by Alby Fire - 11.04.2011, 16:40
Re: MAX_PLAYERS and MAX_PLAYER_NAME - by Jochemd - 11.04.2011, 17:10
Re: MAX_PLAYERS and MAX_PLAYER_NAME - by Seven_of_Nine - 11.04.2011, 18:12
Re: MAX_PLAYERS and MAX_PLAYER_NAME - by Jochemd - 11.04.2011, 18:17
Re: MAX_PLAYERS and MAX_PLAYER_NAME - by Seven_of_Nine - 11.04.2011, 18:19
Re: MAX_PLAYERS and MAX_PLAYER_NAME - by Seven_of_Nine - 11.04.2011, 18:33

Forum Jump:


Users browsing this thread: 1 Guest(s)