spawnmenu.RemoveProp

From GMod Wiki

Jump to: navigation, search
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: NewerClient.png
BBCode Link: [b][url=http://wiki.garrysmod.com/?title=Spawnmenu.RemoveProp]Spawnmenu.RemoveProp [img]http://wiki.garrysmod.com/favicon.ico[/img][/url][/b]



Examples

DescriptionThis is a basic usage example. (Source Code)
Used onNewerClient.png
Code
 
-- Removes the blue barrel from the "Useful Construction Props" category
spawnmenu.RemoveProp( "Useful Construction Props", "models/props_borealis/bluebarrel001.mdl" )
 
OutputNone


Notes

Personal tools
Namespaces
Variants
Actions
Navigation
Lua Scripting
Functions
Hooks
Toolbox