13.02.2014, 12:26
You just add
SendClientMessage(playerid,0xffffffff,"");
15 times so it becomes
Easiest way to repeat, just copy the line. Its the same if you want multiple line messages.
like:
SendClientMessage(playerid,0xffffffff,"");
15 times so it becomes
Код:
CMD:clearmychat(playerid, params[]) { if(isnull(params)) return SendClientMessage(playerid, COLOR_LIGHTRED, " USAGE: /clearmychat [lines(0-20)] SendClientMessage(playerid,0xffffffff,""); SendClientMessage(playerid,0xffffffff,""); SendClientMessage(playerid,0xffffffff,""); SendClientMessage(playerid,0xffffffff,""); SendClientMessage(playerid,0xffffffff,""); SendClientMessage(playerid,0xffffffff,""); SendClientMessage(playerid,0xffffffff,""); SendClientMessage(playerid,0xffffffff,""); SendClientMessage(playerid,0xffffffff,""); SendClientMessage(playerid,0xffffffff,""); SendClientMessage(playerid,0xffffffff,""); SendClientMessage(playerid,0xffffffff,""); SendClientMessage(playerid,0xffffffff,""); SendClientMessage(playerid,0xffffffff,""); SendClientMessage(playerid,0xffffffff,""); return 1; }
like:
Код:
CMD:hi(playerid,params[]) { SendClientMessage(playerid,0xffffffff,"Hi My Name Is Bob"); SendClientMessage(playerid,0xffffffff,"What Is Yours?"); return 1; }