MAX_PLAYER_NAME
#5

A #define is processed in compile-time. That is, when you press the compile button, the script searches every MAX_PLAYER_NAME in your script, and replaces it with a 24. Afterwards, it compiles.
It is advised to use the macros, because in case any sa-mp limit changes in a future version (for example, sa-mp might end up supporting a max player name of 30 characters), you would just need to recompile your script, and not change every single number in your whole script.
Reply


Messages In This Thread
MAX_PLAYER_NAME - by Scarface~ - 10.09.2010, 00:11
Re: MAX_PLAYER_NAME - by Nero_3D - 10.09.2010, 00:16
Re: MAX_PLAYER_NAME - by Scarface~ - 10.09.2010, 00:30
Re: MAX_PLAYER_NAME - by Calgon - 10.09.2010, 01:03
Re: MAX_PLAYER_NAME - by Zamaroht - 10.09.2010, 16:44

Forum Jump:


Users browsing this thread: 1 Guest(s)