G.ClientsideModel

From GMod Wiki

Jump to: navigation, search
Function
Syntax ClientsideModel( String model, Enum rendergroup )
Where is this used?
Description:
Creates a client side entity with the given model.
Returns: Entity CSent
Part of Library: Global Functions
Realm: NewerClient.png
BBCode Link: [b][url=http://wiki.garrysmod.com/?title=G.ClientsideModel]G.ClientsideModel [img]http://wiki.garrysmod.com/favicon.ico[/img][/url][/b]



Examples

DescriptionThis creates a clientside model with the hula doll
Used onNewerClient.png
Code
 
local cutedoll = ClientsideModel("models/props_lab/huladoll.mdl", 
				RENDERGROUP_OPAQUE)
 
OutputN/A


Additional Notes

See Also

Personal tools
Namespaces
Variants
Actions
Navigation
Lua Scripting
Functions
Hooks
Toolbox