Ragnar - 16-08-2008 14:26:32

NAZWA SKRYPTU: MajorKicker
OPIS: Kickuje wszystkich "nabów"XD. Czyli wszystkich którzy mają nick Major...
WERSJA Soldat Dedicated Server: 2.6.3
AUTOR: JoTeMI

Oto kod:

Kod:

procedure OnJoinTeam(ID, Team: byte);
begin
     if(GetPlayerStat(ID, 'Name') = 'Major') or (MaskCheck(GetPlayerStat(ID, 'Name'), 'Major(?)'))
     then begin
          WriteConsole(0, 'The name "Major" is not allowed on this server!', $00CC00);
          WriteConsole(0, 'Please change your name and rejoin', $00CC00);
         KickPlayer(ID);
     end;
end;

P.S:  Dzięki Samsung:D...  Dodałem pare własnych słów :D

GotLink.pl