0 Members and 1 Guest are viewing this topic.
procedure OnPlayerSpeak(ID: Byte; Text: string);var rate:Single;var sRate:string;beginif Text = '!red' then Command('/setteam1 '+inttostr(ID));if Text = '!blue' then Command('/setteam2 '+inttostr(ID));if Text = '!spec' then Command('/setteam5 '+inttostr(ID)); if Text = '!1' then Command('/setteam1 '+inttostr(ID)); if Text = '!2' then Command('/setteam2 '+inttostr(ID)); if Text = '!5' then Command('/setteam5 '+inttostr(ID)); if Text = '!alpha' then Command('/setteam1 '+inttostr(ID)); if Text = '!bravo' then Command('/setteam2 '+inttostr(ID)); if Text = '!spec' then Command('/setteam5 '+inttostr(ID)); if Text = '!A' then Command('/setteam1 '+inttostr(ID)); if Text = '!B' then Command('/setteam2 '+inttostr(ID)); if Text = '!S' then Command('/setteam5 '+inttostr(ID));
procedure OnPlayerSpeak(ID: Byte; Text: string);var rate:Single;var sRate:string;beginif Text = '!red' then Command('/setteam1 '+inttostr(ID));if Text = '!blue' then Command('/setteam2 '+inttostr(ID));if Text = '!lime' then Command('/setteam5 '+inttostr(ID)); if Text = '!1' then Command('/setteam1 '+inttostr(ID)); if Text = '!2' then Command('/setteam2 '+inttostr(ID)); if Text = '!5' then Command('/setteam5 '+inttostr(ID)); if Text = '!alpha' then Command('/setteam1 '+inttostr(ID)); if Text = '!bravo' then Command('/setteam2 '+inttostr(ID)); if Text = '!spec' then Command('/setteam5 '+inttostr(ID)); if Text = '!A' then Command('/setteam1 '+inttostr(ID)); if Text = '!B' then Command('/setteam2 '+inttostr(ID)); if Text = '!S' then Command('/setteam5 '+inttostr(ID));
procedure OnPlayerSpeak(ID: Byte; Text: string);begin if (Text = '!red') or (Text = '!1') or (Text = '!A') or (Text = '!alpha') then Command('/setteam1 '+inttostr(ID)); if (Text = '!blue') or (Text = '!2') or (Text = '!B') or (Text = '!bravo') then Command('/setteam2 '+inttostr(ID)); if (Text = '!spec') or (Text = '!5') or (Text = '!S') or (Text = '!spec') then Command('/setteam5 '+inttostr(ID));end;
procedure OnFlagScore(ID, TeamFlag: byte);begin SetScore(ID,GetPlayerStat(ID,'Kills')-20);end;