Admin Chat < Admins can't see chat or my text, but I can see their chat
#8

Quote:
Originally Posted by Razvann
pawn Code:
{
new aText[128],aName[MAX_PLAYER_NAME],string[128];
if(pInfo[playerid][pAdmin] < 1) return SendClientMessage(playerid,COLOR_LIGHTYELLOW,"You are not an Administrator with the required level.");
if(!sscanf(params,"s",aText)) return SendClientMessage(playerid,COLOR_LIGHTYELLOW,"[USAGE] ''/a [text]''.");

GetPlayerName(playerid,aName,sizeof(aName));
format(string,sizeof(string),"[AdminChat]%s: %s",aName,aText);

for(new i=0;i<=MAX_PLAYERS;i++)
{
  if(pInfo[i][pAdmin] > 0)
    SendClientMessage(i,COLOR_LIGHTBLUE,string);
}
return 1;
}
Not working.

Quote:
Originally Posted by Razvann
pawn Code:
{
new aText[128],aName[MAX_PLAYER_NAME],string[128];
if(pInfo[playerid][pAdmin] < 1) return SendClientMessage(playerid,COLOR_LIGHTYELLOW,"You are not an Administrator with the required level.");
if(!sscanf(params,"s",aText)) return SendClientMessage(playerid,COLOR_LIGHTYELLOW,"[USAGE] ''/a [text]''.");

GetPlayerName(playerid,aName,sizeof(aName));
format(string,sizeof(string),"[AdminChat]%s: %s",aName,aText);

for(new i=0;i<=MAX_PLAYERS;i++)
{
  if(pInfo[i][pAdmin] > 0)
    SendClientMessage(i,COLOR_LIGHTBLUE,string);
}
return 1;
}
THIS ONE WORKS!!!
There is only 1 little thing:
When I type for example ''/a test''
it shows;
(AdminChat)[UF]DarkPhoenix: test
SERVER: Unknown Command (while it IS working).
Reply


Messages In This Thread
Admin Chat < Admins can't see chat or my text, but I can see their chat - by Andy_McKinley - 13.03.2010, 09:39
Re: Admin chat ain't working - by bogeymanEST - 13.03.2010, 09:49
Re: Admin chat ain't working - by Andy_McKinley - 13.03.2010, 10:07
Re: Admin chat ain't working - by WackoX - 13.03.2010, 10:09
Re: Admin chat ain't working - by Andy_McKinley - 13.03.2010, 10:19
Re: Admin chat ain't working - by bogeymanEST - 13.03.2010, 11:17
Re: Admin chat ain't working - by Razvann - 13.03.2010, 11:21
Re: Admin chat ain't working - by Andy_McKinley - 13.03.2010, 12:21
Re: Admin chat < Shows unknown command while it is owrking. - by KnackeBrod - 13.03.2010, 13:05
Re: Admin chat < Shows unknown command while it is owrking. - by Andy_McKinley - 13.03.2010, 13:37
Re: Admin chat < Shows unknown command while it is owrking. - by SloProKiller - 13.03.2010, 13:42
Re: Admin chat < Shows unknown command while it is owrking. - by [03]Garsino - 13.03.2010, 14:02
Re: Admin chat < Shows unknown command while it is owrking. - by Andy_McKinley - 13.03.2010, 14:43
Re: Admin chat < Shows unknown command while it is owrking. - by [03]Garsino - 13.03.2010, 14:52
Re: Admin chat < Shows unknown command while it is owrking. - by Andy_McKinley - 13.03.2010, 17:43
Re: Admin chat < Shows unknown command while it is owrking. - by [03]Garsino - 13.03.2010, 18:56
Re: Admin chat < Shows unknown command while it is owrking. - by Andy_McKinley - 13.03.2010, 19:07
Re: Admin chat < Shows unknown command while it is owrking. - by [03]Garsino - 13.03.2010, 19:56
Re: Admin chat < Shows unknown command while it is owrking. - by Scenario - 13.03.2010, 19:58
Re: Admin chat < Shows unknown command while it is owrking. - by [03]Garsino - 13.03.2010, 20:12
Re: Admin chat < Shows unknown command while it is owrking. - by Andy_McKinley - 14.03.2010, 08:30
Re: Admin chat < Shows unknown command while it is owrking. - by Scenario - 14.03.2010, 08:36
Re: Admin chat < Shows unknown command while it is owrking. - by Andy_McKinley - 14.03.2010, 08:39
Re: Admin chat < Shows unknown command while it is owrking. - by GaGlets(R) - 14.03.2010, 08:45
Re: Admin chat < Shows unknown command while it is owrking. - by Andy_McKinley - 14.03.2010, 09:05
Re: Admin chat < Shows unknown command while it is owrking. - by [03]Garsino - 14.03.2010, 09:35
Re: Admin chat < Shows unknown command while it is owrking. - by Andy_McKinley - 14.03.2010, 09:51
Re: Admin chat < Admins can't see their own chat or other with /a UNFIXED - by Andy_McKinley - 14.03.2010, 10:43
Re: Admin chat < Admins can't see their own chat or other with /a UNFIXED - by Andy_McKinley - 14.03.2010, 11:41
Re: Admin chat < Admins can't see their own chat or other with /a UNFIXED - by Andy_McKinley - 14.03.2010, 13:20
Re: Admin chat < Admins can't see their own chat or other with /a UNFIXED - by SloProKiller - 14.03.2010, 13:23
Re: Admin chat < Admins can't see their own chat or other with /a UNFIXED - by Andy_McKinley - 14.03.2010, 13:24
Re: Admin Chat < Admins can't see chat or my text, but I can see their chat - by Andy_McKinley - 15.03.2010, 15:38
Re: Admin Chat < Admins can't see chat or my text, but I can see their chat - by Scenario - 15.03.2010, 17:53
Re: Admin Chat < Admins can't see chat or my text, but I can see their chat - by Luka P. - 15.03.2010, 18:11
Re: Admin chat < Shows unknown command while it is owrking. - by biltong - 15.03.2010, 18:18
Re: Admin Chat < Admins can't see chat or my text, but I can see their chat - by Scenario - 15.03.2010, 18:55
Re: Admin chat < Shows unknown command while it is owrking. - by grand.Theft.Otto - 17.05.2011, 20:26

Forum Jump:


Users browsing this thread: 4 Guest(s)