Capitalizing 1st letters of First, and last name... ? Firstname_Lastname
#1

Soo.. I tried this
pawn Код:
new NewName[2][MAX_PLAYER_NAME];
    split(PlayerName(playerid),NewName,'_');
    toupper(NewName[0][1]);
    toupper(NewName[1][1]);
    format(string,sizeof(string),"%s_%s",NewName[0],NewName[1]);
    SetPlayerName(playerid,string);
But have no clue why it isn't working..
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)