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."