SA-MP Forums Archive
announce - 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)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: announce (/showthread.php?tid=183632)



announce - [MKD]Max - 16.10.2010

how i can make this command when i do

/ann 1 blalbal
/ann 2 blalbal
/ann 3 blalbal
/ann 4 blalbal
/ann 5 blalbal
/ann 6 blalbal


give styles 6 styles how help!

Code:
dcmd_ann(playerid, params[])
{
	new pName[24], style, atext;
	if(Player[playerid][admin] < 2) return SendClientMessage(playerid,COLOR_RED,"You Dont Have Right To Use This Command");
	GetPlayerName(playerid, pName, sizeof(pName));
	if(sscanf(params,"ds",style, atext)){
 		return SendClientMessage(playerid,COLOR_RED,"Usage: /ann [style] [text]");
	}
    GameTextForAll(params, 3000, 6);
	GameTextForAll(params, 3000, 5);
	GameTextForAll(params, 3000, 4);
	GameTextForAll(params, 3000, 3);
	GameTextForAll(params, 3000, 2);
	GameTextForAll(params, 3000, 1);
    return 1;
}



Re: announce - Zh3r0 - 16.10.2010

These are my own made announce commands:

http://pastebin.com/SXRd27jK


Re: announce - [MKD]Max - 16.10.2010

thanks
: