SA-MP Forums Archive
Spawn save - 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: Spawn save (/showthread.php?tid=449984)



/b cmd not working? - Nines - 11.07.2013

When i do /b ig, it says "Usage: /b [text] (local ooc chat) which its supposed to, but once i do "/b and type text" nothing shows up? Help?

Код:
CMD:b(playerid, params[])
{
	new string[128];
	if(sscanf(params, "s[128]", params)) return SendClientMessage(playerid, COLOR_WHITE, "Usage: /b [text] (Local OOC Chat)");
	if(AntiAdv(playerid, params)) return 1;
	format(string, sizeof(string), "(( Local OOC: %s: %s ))", NAMEGET(playerid), params);
	NearMessageSender(playerid, 12, string, COLOR_FADE2,COLOR_FADE2,COLOR_FADE2,COLOR_FADE2,COLOR_FADE2);
	return 1;
}



Re: Spawn save - Nines - 11.07.2013

any help? (new problem)