[ANNOUNCEMENT STYLE HELP] I need help fixing my announcement command style!
#1

I want my announcement style like this:

please help me!

My code:
Код:
dcmd_announce(playerid,params[]) {
    if(PlayerInfo[playerid][Level] >= 1 || IsPlayerAdmin(playerid)) {
    	if(!strlen(params)) return SendClientMessage(playerid,red,"USAGE: /announce <text>");
    	CMDMessageToAdmins(playerid,"ANNOUNCE");
		TextDrawSetString(Announce, params);
		TextDrawShowForAll(Announce);
		AnnTick = GetTickCount();
		return GameTextForAll(params,4000,3);
    } else return SendClientMessage(playerid,red,"Unknown command. Type /cmds to see a list of available commands.");
}
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 1 Guest(s)