BanPlayer

From Soldat Community Wiki
Jump to: navigation, search
procedure BanPlayer(num: byte; time: integer);

Parameter Info:
 num (byte): Player ID to ban
 time(integer): Amount of time in minutes to wait before unbanning the player. 0 for Permanent.

Description:
 This function will ban a Player based on their ID (num) for a temporary amount of time (time).
 NOTE: If you wish to have a reason appear in banned.txt, use BanPlayerReason(num,time,reason);

Examples

BanPlayer(1,5); //Will ban player 1 for 5 minutes


External Links