/n chat command
#5

Quote:
Originally Posted by admantis
Посмотреть сообщение
pawn Код:
CMD:n(playerid, params[])
{
    if (isnull(params)) return
        SendClientMessage(playerid, 0xFF3300FF, " Usage: /n <your question>");
       
    new szString[128], szName[28];
    GetPlayerName(playerid, szName, 28);
    format(szString, 128, "{33CCFF}Newbie %s(%d): %s", szName, playerid, params);
    SendClientMessageToAll(-1, szString);
    return 1;
}
Like that?
Yes Like that but with a timer to stop spam
Reply


Messages In This Thread
/n chat command - by seanny - 14.04.2011, 21:55
Re: /n chat command - by Diogo_Bras - 14.04.2011, 22:27
Re: /n chat command - by seanny - 14.04.2011, 23:08
Re: /n chat command - by admantis - 14.04.2011, 23:12
Re: /n chat command - by seanny - 14.04.2011, 23:18
Re: /n chat command - by admantis - 14.04.2011, 23:25

Forum Jump:


Users browsing this thread: 1 Guest(s)