11.02.2019, 18:09
Just an intermediary note:
Of course, if you change the string, you need to change its length as well or it will only show parts of it.
Код:
new nameic[MAX_PLAYER_NAME + 1]; //Account for null terminator GetPlayerName(playerid, nameic, sizeof(nameic)); new string[9 + MAX_PLAYER_NAME + 1]; //Because 'Welcome, ' is 9 characters long format(string, sizeof(string), "Welcome, %s", nameic);