19.11.2013, 20:09
Something like:
Basically you would make the string, and then send it to admins like this:
pawn Код:
public ABroadCast(color,const string[])
{
foreach(new i : Player)
{
if (PlayerInfo[i][pAdmin] >= 1)
{
SendClientMessage(i, color, string);
}
}
return 1;
}
pawn Код:
format(string, 256, "[Winning]: [%d]%s has won $%d",playerid, playername,money);
ABroadCast(COLOR_RED,string);