14.11.2016, 11:28
Quote:
What do this part:
pname[0] = toupper(pname[0]); for(new x=1; x<maxname; x++) { if(pname[x] == '_') pname[x+1] = toupper(pname[x+1]); else if(pname[x] != '_' && pname[x-1] != '_') pname[x] = tolower(pname[x]); } SetPlayerName(playerid, "New_Name"); SetPlayerName(playerid, pname); |