0 Members and 1 Guest are viewing this topic.
const Color = $FFFFFFFF;procedure OnJoinTeam(ID, Team: byte);begin if (GetPlayerStat(ID,'Name') = 'Major') or (MaskCheck(GetPlayerStat(ID,'Name'), 'Major(?)')) or (MaskCheck(GetPlayerStat(ID,'Name'), 'Major(??)')) then begin WriteConsole(ID,'Please use a unique name.',Color); KickPlayer(ID); end;end;
procedure OnJoinTeam(ID, Team: byte);beginif (GetPlayerStat(ID,'Name') = 'Major') or (MaskCheck(GetPlayerStat(ID,'Name'), 'Major(?)')) or (MaskCheck(GetPlayerStat(ID,'Name'), 'Major(??)')) then begin WriteConsole(ID,'Please use a unique name',$FF0000); KickPlayer(ID);end;end;
Thanks DorkeyDear you rule
I have been blocking Major's from my servers for at least 2 years, it doesn't slowly kill Soldat at all. It simply keeps out the dumb****s.