How to make Admin Chat
#4

I don't know about '# chat'

but yes you can make like this too
Код:
CMD:achat(playerid,params[])
{
if(IsPlayerAdmin(playerid))
{
new str[144];
if(sscanf(params,"s[144]",str))
  {
     SendClientMessage(playerid,-1,"/achat [text]");
     return 1;
   }
else
   {
      new str1[128];
      new name[128];
      GetPlayerName(playerid,name,sizeof(name));
      format(str1,sizeof(str1),"*Admin %s:%s",name,str);
      SendClientMessageToAll(-1,str1);
    }
}
else
{
SendClientMessage(playerid,-1,"You are not an Admin");
return 1;
}
return1;
}
Reply


Messages In This Thread
How to make Admin Chat - by xFirex - 29.05.2014, 12:18
Re: How to make Admin Chat - by R0 - 29.05.2014, 12:25
Re: How to make Admin Chat - by Threshold - 29.05.2014, 12:28
Re: How to make Admin Chat - by Rittik - 29.05.2014, 12:33
Re: How to make Admin Chat - by xFirex - 29.05.2014, 12:39

Forum Jump:


Users browsing this thread: 1 Guest(s)