13.02.2014, 11:32
How to repeat one line a couple of times
Now I need to add a command that will repeat SendClientMessage(playerid, -1, " ");
untill it's cleared(eg. player goes /clearmychat 15 and it clears 15 lines)
pawn Код:
CMD:clearmychat(playerid, params[])
{
if(isnull(params)) return SendClientMessage(playerid, COLOR_LIGHTRED, " USAGE: /clearmychat [lines(0-20)]
}
untill it's cleared(eg. player goes /clearmychat 15 and it clears 15 lines)