22.02.2015, 17:17
(
Последний раз редактировалось SHFaCeBook; 22.02.2015 в 17:48.
)
FIXED.
SendAdminMessage(0xD97700AA, stringer, 1);
SendAdminMessage(0xD97700AA,stringer, 1);
stock SendAdminMessage(color,msg[80])
{
for(new playerid=0;playerid<MAX_PLAYERS; playerid++)
{
if(IsPlayerConnected(playerid) && IsPlayerAdmin(playerid)) // you must change this by your var(PlayerInfo[playerid][pAdmin])
{
SendClientMessage(playerid,color,msg);
}
}
return 1;
}
stock SendAdminMessage(playerid,color,msg[80])
{
if(!IsPlayerAdmin(playerid)) return 0; // must change adm var
SendClientMessage(playerid,color,msg);
return 1;
}
stock SendAdminMessage(string[], color) {
foreach(Player, x) {
if(PlayerInfo[x][pAdmin] >= 1) {
SendClientMessage(x, color, string);
}
}
return 1;
}
SendAdminMessage(stringer, 0xD97700AA);