SampSharp
SampSharp
SampSharp.GameMode.World
GlobalObject Class
GlobalObject Methods
AttachTo Method
AttachTo Method (BasePlayer, Vector3, Vector3)
AttachTo Method (BaseVehicle, Vector3, Vector3)
AttachTo Method (GlobalObject, Vector3, Vector3, Boolean)
GlobalObject
AttachTo Method (BasePlayer, Vector3, Vector3)
Attaches this
GlobalObject
to the specified
player
.
Namespace:
SampSharp.GameMode.World
Assembly:
SampSharp.GameMode (in SampSharp.GameMode.dll) Version: 0.0.0-localbuild+05637d43e9f34d872e453289d4e240c843e43b09
Syntax
C#
Copy
public
virtual
void
AttachTo
(
BasePlayer
player
,
Vector3
offset
,
Vector3
rotation
)
Parameters
player
Type:
SampSharp.GameMode.World
BasePlayer
The player.
offset
Type:
SampSharp.GameMode
Vector3
The offset.
rotation
Type:
SampSharp.GameMode
Vector3
The rotation.
Exceptions
Exception
Condition
ArgumentNullException
player
See Also
Reference
GlobalObject Class
AttachTo Overload
SampSharp.GameMode.World Namespace