Question Info: MAX_PLAYER_NAME
#1

The max player name is 24...

but in the various servers, you can not enter with 24 characters, the limit of characters is 20, so.. why ?
Reply
#2

I guess people want the limit to be 20, kind of self explanatory.
Reply
#3

PHP код:
#undef MAX_PLAYER_NAME 
        #define MAX_PLAYER_NAME 20 
Have fun
Reply
#4

He never asked for how to do it, he asked why they did it.

So, if you really want to know, ask the owners of the server, or a scripter for them.
Reply
#5

Quote:
Originally Posted by Kindred
Посмотреть сообщение
He never asked for how to do it, he asked why they did it.

So, if you really want to know, ask the owners of the server, or a scripter for them.
yes, but in all servers of sa-mp the limit is 20, is a bug ?
Reply
#6

Some characters count for 2 if I recall correctly. I think "[" is one of them
Reply
#7

Maybe some of their variables involving player names are set to be 21, so I guess that's the reason. Also, 24 characters is kinda long. It's really a personal preference.
Reply
#8

SetPlayerName can support up to 24 characters. That's the only reason.
Reply
#9

Quote:
Originally Posted by FUNExtreme
Посмотреть сообщение
Some characters count for 2 if I recall correctly. I think "[" is one of them
Yes, you're right, some foreign characters take two letter space.
Reply
#10

Thanks all.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)