Tool/GetPhys

From Garry's Mod
Jump to: navigation, search
 Tool:GetPhys( )

Description

Retrieves an PhysObj previously stored using Tool:SetObject. See also Tool:GetEnt.

Arguments

number id

The id of the object which was set in Tool:SetObject.

Returns

PhysObj

Associated PhysObj with given id. If it wasn't specified, returns current PhysObj of associated Entity
Personal tools
Navigation