announce
#1

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;
}
Reply
#2

These are my own made announce commands:

http://pastebin.com/SXRd27jK
Reply
#3

thanks
:
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)