Entity/SnatchModelInstance

From Garry's Mod
(Difference between revisions)
Jump to: navigation, search
 
Line 13: Line 13:
 
{{Ret
 
{{Ret
 
|type=boolean
 
|type=boolean
|desc=success
+
|desc=Whether the operation was successful or not
 
}}
 
}}

Latest revision as of 22:07, 28 April 2016

 Entity:SnatchModelInstance( )

Description

Moves the model instance from the source entity to this entity. This can be used to transfer decals that have been applied on one entity to another.

Both entities must have the same model.

Arguments

Entity srcEntity

Entity to move the model instance from.

Returns

boolean

Whether the operation was successful or not
Personal tools
Navigation