BanPlayerReason

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

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

Description:
 This function will ban a Player based on their ID (num) for a temporary amount of time (time).
 NOTE: If you dont want to type a reason, use BanPlayer(num,time);