Więc tak:
NAZWA SKRYPTU: AdminColors
OPIS: Skrypt koloruje wypowiedzi admina. Niby nic, ale zawsze coś co odróżnia nasz server od innych^^
WERSJA Soldat Dedicated Server: 2.6.3
Oto kod:
function OnCommand(ID: Byte; Text: string): boolean; var Name: string; begin Result := false; if ID = 255 then Name := 'Server' else Name := IDtoName(ID); if Copy(Text,1,5) = '/say ' then begin Result := true; WriteConsole(0,'[' + Name + '] ' + Copy(Text,6,Length(Text)),$FF0000); end; end;
P.S: TEN SKRYPT NIE JEST MOIM DZIEŁEM... NICKU TWÓRCY ZAPOMNIAŁEM.. WIĘC: If this is Your Srcipt Plz Write it.... I'm sorry that i forgot Your nick
Offline