SampSharp
SampSharp
SampSharp.GameMode.World
GlobalObject Class
GlobalObject Methods
Move Method
Move Method (Vector3, Single)
Move Method (Vector3, Single, Vector3)
GlobalObject
Move Method (Vector3, Single, Vector3)
Moves this IGameObject to the given position and rotation with the given speed.
Namespace:
SampSharp.GameMode.World
Assembly:
SampSharp.GameMode (in SampSharp.GameMode.dll) Version: 0.0.0-localbuild+05637d43e9f34d872e453289d4e240c843e43b09
Syntax
C#
Copy
public
virtual
int
Move
(
Vector3
position
,
float
speed
,
Vector3
rotation
)
Parameters
position
Type:
SampSharp.GameMode
Vector3
The position to which to move this IGameObject.
speed
Type:
System
Single
The speed at which to move this IGameObject.
rotation
Type:
SampSharp.GameMode
Vector3
The rotation to which to move this IGameObject.
Return Value
Type:
Int32
The time it will take for the object to move in milliseconds.
Implements
IGameObject
Move(Vector3, Single, Vector3)
See Also
Reference
GlobalObject Class
Move Overload
SampSharp.GameMode.World Namespace