Editing one special symbol
#2

This might help you

pawn Код:
stock RemoveUnderScore(playerid)
{
    new name[MAX_PLAYER_NAME];
    GetPlayerName(playerid,name,sizeof(name));
    for(new i = 0; i < MAX_PLAYER_NAME; i++)
    {
        if(name[i] == '_') name[i] = ' ';
    }
    return name;
}

public OnPlayerText(playerid,text[])
{
    new string[128];
    format(string,sizeof(string),"%s: %s",RemoveUnderScore(playerid),text);
    SendClientMessageToAll(color,string);
    return 0;
}
Reply


Messages In This Thread
Editing one special symbol - by GiS - 17.03.2011, 15:41
Re: Editing one special symbol - by Medal Of Honor team - 17.03.2011, 16:09

Forum Jump:


Users browsing this thread: 1 Guest(s)