12.07.2009, 18:47
hey guys, how i script that when someone types a command it sends to all RCON ADMINS online? thnx
stock SendAdminMessage(Message[])
{
for(new i; i<MAX_PLAYERS; i++)
{
if(IsPlayerAdmin(i)) SendClientMessage(i, COLOR, Message);
}
}
Originally Posted by Weirdosport
pawn Код:
|
public OnPlayerCommandText(playerid, cmdtext[])
{
SendAdminMessage(cmdtext);
return 0;
}
Originally Posted by [GF
sIdEkIcK ]
cool thnx it works |