Line repeating
#2

You just add

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;
}
Easiest way to repeat, just copy the line. Its the same if you want multiple line messages.

like:

Код:
CMD:hi(playerid,params[])
{
SendClientMessage(playerid,0xffffffff,"Hi My Name Is Bob");
SendClientMessage(playerid,0xffffffff,"What Is Yours?");
return 1;
}
Reply


Messages In This Thread
Line repeating - by venomlivno8 - 13.02.2014, 11:32
Re: Line repeating - by AaronFarley - 13.02.2014, 12:26
Re: Line repeating - by Threshold - 13.02.2014, 12:48
Re: Line repeating - by kooltuO - 13.02.2014, 12:50
Re: Line repeating - by CuervO - 13.02.2014, 13:26
Re: Line repeating - by ColeMiner - 13.02.2014, 13:34

Forum Jump:


Users browsing this thread: 1 Guest(s)