DarkRP.Player.TeamBan
From GMod Wiki
Revision as of 12:18, 16 November 2011 by [RV] TJjokerR (Talk | contribs)
This page has been nominated for deletion. Deletion is due within approximately 30 days from nomination, unless the deletion has been disputed on the talk page. See more pages nominated for deletion here. Reason for deletion: Not what Garry wants the wiki to be used for Last Edit was made on 11/16/2011 |
Gamemode Function: DarkRP.Player.TeamBan | |
---|---|
DarkRP.Player.TeamBan is a function that is defined in the DarkRP Gamemode and its derivatives. |
Function | |
Syntax |
Player:TeamBan( ) Where is this used? |
Description: | |
Bans the player from her/his current team. | |
Returns: | nil |
Part of Library: | Player |
Realm: | |
BBCode Link: | [b][url=http://wiki.garrysmod.com/?title=DarkRP.Player.TeamBan]DarkRP.Player.TeamBan [img]http://wiki.garrysmod.com/favicon.ico[/img][/url][/b] |
Examples
Description | Bans the player from there current team) |
---|---|
Used on | |
Code | function AnnoyPlayer( act, ply ) ply:TeamBan() ply:ChatPrint("Lolz " .. act.Nick() .. " just banned you!") end |
Output | N/A |