Where does this character come from!?
#1

pawn Код:
public OnPlayerText(playerid, text[])
{
    if(text[0] == '(')
    {
        new string[128];
        new sendername[MAX_PLAYER_NAME];
        GetPlayerName(playerid, sendername, sizeof(sendername));
        format(string, sizeof(string), "%s:(( %s ))", sendername, text);
        ProxDetector(20.0, playerid, string,COLOR_FADE1,COLOR_FADE2,COLOR_FADE3,COLOR_FADE4,COLOR_FADE5);
    }
    return 0;
}
If i do for example: (hello!

It gives me this: Name_Name( ( hello! ))

Instead it should be like this: Name_Name( hello! ))


Wtf, where that extra "(" comes from?
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)