Difference between revisions of "TActivePlayer.Ban"

From Soldat Community Wiki
Jump to: navigation, search
(Created page with " '''''function Ban(Time: Integer; Reason: string): Boolean''''' Time: period in minutes for the player to be banned Reason: ban reason Result: if it worked or not. ==Des...")
(No difference)

Revision as of 15:49, 1 July 2013

function Ban(Time: Integer; Reason: string): Boolean
 Time: period in minutes for the player to be banned
 Reason: ban reason
 Result: if it worked or not.

Description

Bans a player for a certain period.
Results false if you attempt to ban an inactive ID or an admin; true otherwise.