Removing the " _ " symbol from name
#6

You can turn it into a stock function
pawn Код:
stock Remove_FromName(playerid)
{
    new
       pName[MAX_PLAYER_NAME],
       i
    ;
    GetPlayerName(playerid, pName, sizeof(pName));
    while((i = strfind(pName, "_", true)) != -1)
    pName[i] = ' ';
    return pName;
}
Reply


Messages In This Thread
Removing the " _ " symbol from name - by marko94 - 06.11.2010, 19:47
Re: Removing the " _ " symbol from name - by RyDeR` - 06.11.2010, 19:49
Re: Removing the " _ " symbol from name - by Bessensap - 06.11.2010, 19:49
Re: Removing the " _ " symbol from name - by marko94 - 06.11.2010, 19:55
Re: Removing the " _ " symbol from name - by RyDeR` - 06.11.2010, 19:56
Re: Removing the " _ " symbol from name - by Toni - 06.11.2010, 20:06
Re: Removing the " _ " symbol from name - by marko94 - 06.11.2010, 20:20
Re: Removing the " _ " symbol from name - by RyDeR` - 06.11.2010, 20:26
Re: Removing the " _ " symbol from name - by marko94 - 06.11.2010, 20:43
Re: Removing the " _ " symbol from name - by RyDeR` - 06.11.2010, 20:45

Forum Jump:


Users browsing this thread: 1 Guest(s)