Click or drag to resize

GlobalObjectAttachTo Method (GlobalObject, Vector3, Vector3, Boolean)

Attaches this GlobalObject to the specified globalObject.

Namespace:  SampSharp.GameMode.World
Assembly:  SampSharp.GameMode (in SampSharp.GameMode.dll) Version: 0.0.0-localbuild+05637d43e9f34d872e453289d4e240c843e43b09
Syntax
C#
public virtual void AttachTo(
	GlobalObject globalObject,
	Vector3 offset,
	Vector3 rotation,
	bool syncRotation = false
)

Parameters

globalObject
Type: SampSharp.GameMode.WorldGlobalObject
The global object.
offset
Type: SampSharp.GameModeVector3
The offset.
rotation
Type: SampSharp.GameModeVector3
The rotation.
syncRotation (Optional)
Type: SystemBoolean
if set to true synchronize rotation.
Exceptions
ExceptionCondition
ArgumentNullExceptionglobalObject
See Also