๐ฎSimObjectProp
General game-prop, properties & functions are derived from SimObject.
Static Functions:
SimObjectProp.Create(model: Hash, coords: Vector3, rotation: Vector3): SimObjectProp
Returns SimObjectProp object when successfully created.
SimObjectProp.Get(object: SimObject): SimObjectProp
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.