Player.SelectWeapon
From GMod Wiki
| Function | |
| Syntax | Player:SelectWeapon( String weapon_class_name ) |
| Description: | |
| Forces a player to select weapon defined in arguments | |
| Returns: | nil |
| In Object: | Player |
| Realm: |
|
| BBCode Link: | [b][url=http://wiki.garrysmod.com/?title=Player.SelectWeapon]Player.SelectWeapon [img]http://wiki.garrysmod.com/favicon.ico[/img][/url][/b] |
Examples
Additional Notes
- To force a player to select a weapon clientside, do this:
RunConsoleCommand( "use", weapon_class_name )