BanPlayerReason

From Soldat Community Wiki
Revision as of 12:50, 15 August 2012 by Freeman (talk | contribs) (Created page with " ''procedure BanPlayerReason(num: byte; time: integer; reason: string);'' '''Parameter Info:''' num (byte): Player ID to ban time (integer): Amount of time in minutes t...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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);