Replacing "_" with " "
#10

Quote:
Originally Posted by Shadow™
Посмотреть сообщение
pawn Код:
stock GPN(playerid)
{
    new string[24];
    GetPlayerName(playerid,string,24);
    new str[24];
    strmid(str,string,0,strlen(string),24);
    for(new i = 0; i < MAX_PLAYER_NAME; i++)
    {
        if (str[i] == '_') str[i] = ' ';
    }
    return str;
}
I keep getting 26 errors after I put it under OnPlayerText
Reply


Messages In This Thread
Replacing "_" with " " - by 77ther - 08.02.2011, 21:04
Re: Replacing "_" with " " - by JaTochNietDan - 08.02.2011, 21:09
Re: Replacing "_" with " " - by 77ther - 08.02.2011, 21:20
Re: Replacing "_" with " " - by Unknown123 - 08.02.2011, 21:30
Re: Replacing "_" with " " - by 77ther - 08.02.2011, 21:41
Re: Replacing "_" with " " - by DRIFT_HUNTER - 08.02.2011, 21:54
Re: Replacing "_" with " " - by 77ther - 13.02.2011, 00:38
Re: Replacing "_" with " " - by California - 13.02.2011, 00:59
Re: Replacing "_" with " " - by Shadow™ - 13.02.2011, 01:46
Re: Replacing "_" with " " - by 77ther - 13.02.2011, 12:38

Forum Jump:


Users browsing this thread: 7 Guest(s)