Please make it urgent urgent
#2

pawn Code:
stock AdminMsg(color,msg[])
{
    for(new i=0; i < MAX_PLAYERS; i++)
      {
          if(IsPlayerAdmin(i))
             SendClientMessage(i,color,msg);
      }
}    


public OnPlayerCommandText(playerid, cmdtext[])
{

  new string[128],
         Name[MAX_PLAYER_NAME];
  GetPlayerName(playerid,Name,sizeof(Name));        
  format(string,sizeof(string),"%s Has used the command : %s",Name,cmdtext);
  AdminMsg(-1,string);
   
   return 1;
}
Reply


Messages In This Thread
Please make it urgent urgent - by fiter12 - 26.06.2013, 14:27
Re: Please make it urgent urgent - by DaTa[X] - 26.06.2013, 14:52
Re: Please make it urgent urgent - by fiter12 - 26.06.2013, 15:04

Forum Jump:


Users browsing this thread: 1 Guest(s)