09.04.2019, 02:36
Reading a few topics about optimization i've found 'Char-arrays':
The code above would be right according to this topic but pawn-lang compiler rejects it.
Is there any mistakes in my code or is there something else i have to do to use Char-arrays?
pawn Code:
new playerName[MAX_PLAYERS char][MAX_PLAYER_NAME];
GetPlayerName(playerid, playerName{playerid}, MAX_PLAYER_NAME);
printf("%s", playerName{playerid});
Is there any mistakes in my code or is there something else i have to do to use Char-arrays?