Using @ to chat
#3

pawn Код:
if(text[0] == '#')
    {
        GetPlayerName(playerid,sendername,sizeof(sendername));

        format(string, sizeof(string), "CHAT:%s (%d): %s", sendername, playerid, text[1]);
        SendClientMessage(COLOR_WHITE, string);
       
        printf("%s: %s",sendername, text[1]);
        return 0;
    }
Reply


Messages In This Thread
Using @ to chat - by Derexi - 31.07.2014, 10:38
Respuesta: Using @ to chat - by IceBilizard - 31.07.2014, 10:43
Re: Using @ to chat - by Clad - 31.07.2014, 10:44

Forum Jump:


Users browsing this thread: 1 Guest(s)