26.07.2012, 08:33
Quote:
The reason for using "23 + MAX_PLAYER_NAME" and not 128 is because the smaller array sizes, the better. 128 is way too much for our small message in this tutorial. Allways make arrays as small as possible.
|
Quote:
True, using a 128 array size is over than you need.
@ krogsgaard20, To be honest, that tutorial taught me alot. Good tutorial and good job! |
Also, I agree with Y_Less, although I don't know what 3 means. But its true that this one would be better:
pawn Code:
new str[64];
GetPlayerName(playerid,str,MAX_PLAYER_NAME);
format(str,sizeof(str),"Hello %s",str);