SA-MP Forums Archive
how to make /b(the OOC MSG) CMD please?(+1 rep) - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: how to make /b(the OOC MSG) CMD please?(+1 rep) (/showthread.php?tid=334883)



how to make /b(the OOC MSG) CMD please?(+1 rep) - Andrew97 - 16.04.2012

Please tell me how to do the /b CMD?

And Please Please Explain it to me ?
I really can't thank the one who will Tell me it thanks!


Re: how to make /b(the OOC MSG) CMD please?(+1 rep) - Andrew97 - 16.04.2012

PLease how?


Re: how to make /b(the OOC MSG) CMD please?(+1 rep) - Andrew97 - 16.04.2012

HOw to make /b COmmand


Re: how to make /b(the OOC MSG) CMD please?(+1 rep) - sampmark05 - 16.04.2012

Код:
CMD:b(playerid, params[])
{
	if(gPlayerLogged{playerid} == 0)
	{
		SendClientMessageEx(playerid, COLOR_GREY, "You're not logged in.");
		return 1;
	}
	if(isnull(params)) return SendClientMessageEx(playerid, COLOR_WHITE, "USAGE: /b [local ooc chat]");
	new string[128];
	format(string, sizeof(string), "%s: (( %s ))", GetPlayerNameEx(playerid), params);
	ProxDetector(20.0, playerid, string,COLOR_FADE1,COLOR_FADE2,COLOR_FADE3,COLOR_FADE4,COLOR_FADE5);
	return 1;
}