Player::taskGotoAiming
Not available on SYNC MP yet
This member is part of the RAGE:MP API but SYNC MP does not implement it yet (Client-side JavaScript). Calling it does nothing or throws.
eg
Player::TASK_GOTO_ENTITY_AIMING(v_2, PLAYER::PLAYER_Player_ID(), 5.0, 25.0);
ped = Ped you want to perform this task.
target = the Entity they should aim at.
distanceToStopAt = distance from the target, where the ped should stop to aim.
StartAimingDist = distance where the ped should start to aim.
Syntax
player.taskGotoAiming(target, distanceToStopAt, StartAimingDist);
Required Arguments
- target: Entity handle or object
- distanceToStopAt: float
- StartAimingDist: float
Return value
- Undefined
Example
// todo