18.12.2017, 13:39
A string (array) should have a constant size to store any data (text). A player's name can be up to 24 characters and so is defined. However, you will receive an error for rejected nickname if length exceeds 20 characters upon joining a server. So if you wanted to re-define it, you'd need to bare in mind the NULL terminator.
new declared a new variable. For more: https://sampwiki.blast.hk/wiki/Scripting_Basics
pawn Код:
#undef MAX_PLAYER_NAME
#define MAX_PLAYER_NAME 21