Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- //============================================================================================
- forward DmCast(color, string[]);
- forward InfoVlezeCast(color, string[]);
- forward ReconCast(color, string[]);
- forward PomosCast(color, string[]);
- forward GchatCast(color, string[]);
- forward AachatCast(color, string[]);
- forward WarningCast(color, string[]);
- forward ReportCast(color, string[]);
- //==============================================================================
- public AachatCast(color, string[])
- {
- foreach (Player, i)
- {
- if(PlayerInfo[i][pAachat] == 1 && PlayerInfo[i][pAdmin] >= 1 || PlayerInfo[i][pGameMaster] >= 1 && PlayerInfo[i][pAachat] == 1)
- {
- SendClientMessage(i, color, string);
- }
- }
- }
- public GchatCast(color, string[])
- {
- foreach (Player, i)
- {
- if(PlayerInfo[i][pGchat] == 1 && PlayerInfo[i][pAdmin] >= 1 || PlayerInfo[i][pGameMaster] >= 1 && PlayerInfo[i][pGchat] == 1)
- {
- SendClientMessage(i, color, string);
- }
- }
- }
- public ReportCast(color, string[])
- {
- foreach (Player, i)
- {
- if(PlayerInfo[i][pReport] == 1 && PlayerInfo[i][pAdmin] >= 1 || PlayerInfo[i][pGameMaster] >= 1 && PlayerInfo[i][pReport] == 1)
- {
- SendClientMessage(i, color, string);
- }
- }
- }
- public WarningCast(color, string[])
- {
- foreach (Player, i)
- {
- if(PlayerInfo[i][pWarning] == 1 && PlayerInfo[i][pAdmin] >= 1 || PlayerInfo[i][pGameMaster] >= 1 && PlayerInfo[i][pWarning] == 1)
- {
- SendClientMessage(i, color, string);
- }
- }
- }
- public DmCast(color, string[])
- {
- foreach (Player, i)
- {
- if(PlayerInfo[i][pDmwarn] == 1 && PlayerInfo[i][pAdmin] >= 1 || PlayerInfo[i][pGameMaster] >= 1 && PlayerInfo[i][pDmwarn] == 1)
- {
- SendClientMessage(i, color, string);
- }
- }
- }
- public InfoVlezeCast(color, string[])
- {
- foreach (Player, i)
- {
- if(PlayerInfo[i][pInfovleze] == 1 && PlayerInfo[i][pAdmin] >= 1 || PlayerInfo[i][pGameMaster] >= 1 && PlayerInfo[i][pInfovleze] == 1)
- {
- SendClientMessage(i, color, string);
- }
- }
- }
- public ReconCast(color, string[])
- {
- foreach (Player, i)
- {
- if(PlayerInfo[i][pRecon] == 1 && PlayerInfo[i][pAdmin] >= 1 || PlayerInfo[i][pGameMaster] >= 1 && PlayerInfo[i][pRecon] == 1)
- {
- SendClientMessage(i, color, string);
- }
- }
- }
- public PomosCast(color, string[])
- {
- foreach (Player, i)
- {
- if(PlayerInfo[i][pPomos] == 1 && PlayerInfo[i][pAdmin] >= 1 || PlayerInfo[i][pGameMaster] >= 1 && PlayerInfo[i][pPomos] == 1)
- {
- SendClientMessage(i, color, string);
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement