From Liberty Unleashed Wiki
This function bans a player from the server.
- bool BanPlayer( Player plr, [BanType type] )
- plr - Pointer of the player to ban
- type - The type of ban to add. This can be any of the BANTYPE_ constants. Defaults to BANTYPE_IP
This will ban anybody called 'Bob'
- function onPlayerJoin( player )
- if ( player.Name == "Bob" )
- MessagePlayer( "NO BOBS ALLOWED!", player );
- BanPlayer( player );