- Soldat Klan - ~Fr33 Styl3~ http://www.klanfreestyle.pun.pl/index.php - Admin serwer tricks http://www.klanfreestyle.pun.pl/viewforum.php?id=30 - Skrypt AdminColors http://www.klanfreestyle.pun.pl/viewtopic.php?id=74 |
Ragnar - 16-08-2008 14:22:13 |
Więc tak: 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 |