05.07.2011, 14:06
Quote:
This would still mean a shitload of 'overused' cells. What would be more efficient? To create one string with 24 cells ONLY when you need to retrieve a name OR having x* strings with 24 cells ALL the time, meaning they're 99.9% of the time useless?
* Whatever MAX_PLAYERS is defined as. |
pawn Code:
new str[128]; //Overused cells
GetPlayerName(playerid, str, MAX_PLAYER_NAME);
format(str, 128, "Hi %s!", str);
SendClientMessage(playerid, 0xFFFFFFAA, str);