Funciуn SendClientMessageEx
#7

Te lo dejo acб de todas maneras que lo necesites.
Код:
stock SendClientMessageEx(playerid, color, const text[], {Float, _}:...)
{
	static
	    args,
	    str[144];

	if ((args = numargs()) == 3)
	{
	    SendClientMessage(playerid, color, text);
	}
	else
	{
		while (--args >= 3)
		{
			#emit LCTRL 5
			#emit LOAD.alt args
			#emit SHL.C.alt 2
			#emit ADD.C 12
			#emit ADD
			#emit LOAD.I
			#emit PUSH.pri
		}
		#emit PUSH.S text
		#emit PUSH.C 144
		#emit PUSH.C str
		#emit PUSH.S 8
		#emit SYSREQ.C format
		#emit LCTRL 5
		#emit SCTRL 4

		SendClientMessage(playerid, color, str);

		#emit RETN
	}
	return 1;
}
Reply


Messages In This Thread
Funciуn SendClientMessageEx - by wharlos - 10.06.2016, 18:33
Re: Funciуn SendClientMessageEx - by Unrea1 - 10.06.2016, 18:44
Respuesta: Funciуn SendClientMessageEx - by wharlos - 10.06.2016, 18:48
Re: Funciуn SendClientMessageEx - by Unrea1 - 10.06.2016, 18:57
Respuesta: Funciуn SendClientMessageEx - by wharlos - 10.06.2016, 19:06
Re: Funciуn SendClientMessageEx - by Unrea1 - 10.06.2016, 19:24
Respuesta: Funciуn SendClientMessageEx - by Z0MBERTH - 10.06.2016, 19:57
Respuesta: Funciуn SendClientMessageEx - by wharlos - 10.06.2016, 20:02

Forum Jump:


Users browsing this thread: 1 Guest(s)