30.08.2017, 02:32
Код:
stock ReturnName(playerid, underScore = 1) { new playersName[MAX_PLAYER_NAME], Name[MAX_PLAYER_NAME]; if(underScore) { GetPlayerName(playerid, Name, sizeof(Name)); playersName = Name; } else { GetPlayerName(playerid, Name, sizeof(Name)); strreplace(Name, '_', ' '); playersName = Name; } return playersName; }