27.07.2015, 01:31
So preety much as the tittle says, Im having this quite weird problem of setting player name
The name itself works, altho the nation is doubled.
[USSR][USSR]Twinki
Not sure if this can cause trouble.
I got this on OnPlayerLog
Im using it to save player name
pawn Код:
format(string,sizeof(string), "[%s]%s",GetPlayerNation(playerid),GetName(playerid));
SetPlayerName(playerid,string);
[USSR][USSR]Twinki
Not sure if this can cause trouble.
I got this on OnPlayerLog
pawn Код:
new namestring[35];
GetPlayerName(playerid, namestring, sizeof(namestring));
strmid(TempName[playerid], namestring, 0, strlen(namestring), 64);

