HELP - instead of name shows 68
#9

You don't need to return anything else than 1 in this case. Simply, do this:
pawn Код:
public OnPlayerConnect(playerid) {
    GetPlayerName(playerid, savedplayerdata[playerid][pName], sizeof(savedplayerdata[playerid][pName]));
    strreplace(savedplayerdata[playerid][pName], "_", " "); // be careful here! if you save the name, for example using this variable, you will have problems.
    return 1;
}
Reply


Messages In This Thread
HELP - instead of name shows 68 - by Denis1 - 15.03.2015, 12:19
Re: HELP - instead of name shows 68 - by HY - 15.03.2015, 12:20
Re: HELP - instead of name shows 68 - by DeitY - 15.03.2015, 12:21
Re: HELP - instead of name shows 68 - by Denis1 - 15.03.2015, 12:21
Re: HELP - instead of name shows 68 - by HazardouS - 15.03.2015, 12:42
Re: HELP - instead of name shows 68 - by Vince - 15.03.2015, 12:42
Re: HELP - instead of name shows 68 - by Denis1 - 15.03.2015, 14:02
Re: HELP - instead of name shows 68 - by Denis1 - 15.03.2015, 15:32
Respuesta: HELP - instead of name shows 68 - by admantis - 15.03.2015, 15:50

Forum Jump:


Users browsing this thread: 1 Guest(s)