Announce command help
#2

pawn Code:
dcmd_ann(playerid,params[])
{
#pragma unused params
new string[128], message[128];
if(PlayerInfo[playerid][Level] < 3) return SendClientMessage(playerid,COLOR_WHITE,"{FF0000}[ERROR] {FFFFFF}You don't have an appropriate administration level to use this command.");
 if(sscanf(params, "u", message)) return SendClientMessage(playerid,COLOR_WHITE,""COL_ORANGE"[USAGE] {FFFFFF}/ann(ounce) [MESSAGE]");
  {
   for(new i = 0; i < MAX_PLAYERS; i++)
   {
   format(string,sizeof(string),"%s",message);
   GameTextForPlayer(playerid,params,4000,5);
  }
 }
return 1;
}
Try Now.
Reply


Messages In This Thread
Announce command help - by iFiras - 07.10.2013, 12:30
Re: Announce command help - by MAFIAWARS - 07.10.2013, 12:35
Re: Announce command help - by TomatoRage - 07.10.2013, 13:03
Re: Announce command help - by iFiras - 08.10.2013, 12:09
Re: Announce command help - by jueix - 08.10.2013, 12:11
Re: Announce command help - by iFiras - 08.10.2013, 12:11
Re: Announce command help - by Konstantinos - 08.10.2013, 12:15
Re: Announce command help - by jueix - 08.10.2013, 12:16
Re: Announce command help - by iFiras - 08.10.2013, 12:23
Re: Announce command help - by Mattakil - 08.10.2013, 12:30

Forum Jump:


Users browsing this thread: 2 Guest(s)