đŽSimObjectProp
General game-prop, properties & functions are derived from SimObject.
Last updated
General game-prop, properties & functions are derived from SimObject.
Last updated
SimObjectProp.Create(model: Hash, coords: Vector3, rotation: Vector3)
: SimObjectProp
Argument | Type | Description |
---|---|---|
Returns SimObjectProp object when successfully created.
SimObjectProp.Get(object: SimObject)
: SimObjectProp
Argument | Type | Description |
---|---|---|
This will cast SimObject to SimObjectProp use this only if you know what you're doing!
SimObjectProp.IsAttached()
: boolean
Returns true if prop is currently attached, otherwise false.
SimObjectProp.GetAttachBone()
: string
Returns name of the attach bone (CharacterBone), otherwise null if doesn't exist.
SimObjectProp.GetPropBone()
: string
Returns name of the prop bone, otherwise null if doesn't exist.
model
Hash
coords
Vector3
Position of new Prop
rotation
Vector3
Rotation of new Prop
object
SimObject
Valid SimObject