[Tutorial] YINI Tutorial - Optimised - Easy-to-use
#3

pawn Code:
GetPlayerNameEx(playerid)
{
    new string[MAX_PLAYER_NAME];
    GetPlayerName(playerid, string, MAX_PLAYER_NAME);
    for(new i = 0; i < MAX_PLAYER_NAME; i++)
    {
        if(string[i] == '_') string[i] = ' ';
    }
    return string;
}
It will work, no ?
Reply


Messages In This Thread
YINI Tutorial - Optimised - Easy-to-use - by Binx - 25.07.2013, 17:09
Re: YINI Tutorial - Optimised - Easy-to-use - by Helpergood - 25.07.2013, 17:22
Re : YINI Tutorial - Optimised - Easy-to-use - by Garwan50 - 25.07.2013, 19:06

Forum Jump:


Users browsing this thread: 1 Guest(s)