spawnmenu.RemoveProp
From GMod Wiki
Function | |
Syntax |
spawnmenu.RemoveProp( String category, String model ) Where is this used? |
Description: | |
Removes a prop from a spawn menu category. | |
Returns: | nil |
Part of Library: | spawnmenu |
Realm: | |
BBCode Link: | [b][url=http://wiki.garrysmod.com/?title=Spawnmenu.RemoveProp]Spawnmenu.RemoveProp [img]http://wiki.garrysmod.com/favicon.ico[/img][/url][/b] |
Examples
Description | This is a basic usage example. (Source Code) |
---|---|
Used on | |
Code | -- Removes the blue barrel from the "Useful Construction Props" category spawnmenu.RemoveProp( "Useful Construction Props", "models/props_borealis/bluebarrel001.mdl" ) |
Output | None |
Notes
- This does not remove the actual icon. Not sure what it actually does, but it's used in the right-click menu 'Delete' option.