Gamemode.PlayerRequestClass
From GMod Wiki
Revision as of 06:34, 23 October 2009 by Crazy Quebecer (Talk | contribs)
Event Hook | |
Hook Name | PlayerRequestClass |
Syntax | GM:PlayerRequestClass( Player ply, Number class, Boolean disablemessage ) |
Description | Called when a player tries to change to a class. Use this instead of SetPlayerClass. |
Returns | Nil |
Lua State | |
BBCode | [b][url=wiki.garrysmod.com/?title=Gamemode.PlayerRequestClass]Gamemode.PlayerRequestClass [img]http://wiki.garrysmod.com/favicon.ico[/img][/url][/b] |
Examples
Description | N/A | ||
---|---|---|---|
Used on | |||
Code |
| ||
Output | N/A |