NAZWA SKRYPTU: MajorKicker
OPIS: Kickuje wszystkich "nabów". Czyli wszystkich którzy mają nick Major...
WERSJA Soldat Dedicated Server: 2.6.3
AUTOR: JoTeMI
Oto 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
Offline