[HELP]/announce problem (comes twice)
#1

so here's my code, everytime I do /announce it comes up twice! please fix it


Quote:

dcmd_announce(playerid,params[])
{
if(PlayerInfo[playerid][Level] >= 1 || IsPlayerAdmin(playerid))
{
if(!strlen(params)) return SendClientMessage(playerid,red,"USAGE: /announce <text>");
CMDMessageToAdmins(playerid,"ANNOUNCE");
new string[100];
format(string, sizeof(string), "~w~%s", params);
return GameTextForAll(string, 9000, 0);
} else return SendClientMessage(playerid,red,"Unknown command. Type /cmds to see a list of available commands.");
}

Reply


Messages In This Thread
[HELP]/announce problem (comes twice) - by lottoboy - 18.10.2013, 05:59
Re: [HELP]/announce problem (comes twice) - by qazwsx - 18.10.2013, 06:30
Re: [HELP]/announce problem (comes twice) - by lottoboy - 18.10.2013, 07:36
Re: [HELP]/announce problem (comes twice) - by Smally - 18.10.2013, 10:17
Re: [HELP]/announce problem (comes twice) - by Konstantinos - 18.10.2013, 10:19

Forum Jump:


Users browsing this thread: 1 Guest(s)