A chat problem (ZCMD)
#6

Quote:
Originally Posted by Ken97
Посмотреть сообщение
This.

pawn Код:
CMD:n(playerid, params[])
{
    new string[128], pName[MAX_PLAYER_NAME];
    GetPlayerName(playerid, pName, sizeof(pName));
    if(sscanf(params, "s[128]", params)) return SendClientMessage(playerid, LIGHTBLUE, "Usage: /n(ewbie) [Text]");
    format(string, sizeof(string), "%s: %s",pName, params);
    SendClientMessageToAll(COLOR_BLUE, string);
    return 1;
}
Could you tell me how to add a timer between messages like

/n Can you help me with /v?
"**Newbie: Niall_Horan: Can you help me with /v?
/n Thanks
"You must wait 30 seconds after your last message to talk in Newbie."
Reply


Messages In This Thread
A chat problem (ZCMD) - by xXRealLegitXx - 15.02.2013, 01:08
Re: A chat problem (ZCMD) - by Neil. - 15.02.2013, 01:12
Re: A chat problem (ZCMD) - by JJB562 - 15.02.2013, 01:14
Re: A chat problem (ZCMD) - by xXRealLegitXx - 15.02.2013, 01:37
Re: A chat problem (ZCMD) - by xXRealLegitXx - 15.02.2013, 01:42
Re: A chat problem (ZCMD) - by xXRealLegitXx - 15.02.2013, 01:45
Re: A chat problem (ZCMD) - by Scenario - 15.02.2013, 02:04
Re: A chat problem (ZCMD) - by RajatPawar - 15.02.2013, 02:07

Forum Jump:


Users browsing this thread: 1 Guest(s)