Task::goToCoordAndAimAtHatedEntitiesNearCoord

From RAGE Multiplayer Wiki
Revision as of 00:06, 7 May 2024 by Shr0x (talk | contribs) (Created page with " {{ClientsideJsFunction}} {{JSContainer| ===Required Params=== *'''pedHandle:''' {{RageType|number}} *'''goToLocationX:''' {{RageType|number}} *'''goToLocationY:''' {{RageType|number}} *'''goToLocationZ:''' {{RageType|number}} *'''focusLocationX:''' {{RageType|number}} *'''focusLocationY:''' {{RageType|number}} *'''focusLocationZ:''' {{RageType|number}} *'''speed:''' {{RageType|number}} *'''shootAtEnemies:''' {{RageType|boolean}} *'''distanceToStopAt:''' {{RageType|numb...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Client-Side
Function

 JavaScript



JavaScript Syntax


Required Params

  • pedHandle: number
  • goToLocationX: number
  • goToLocationY: number
  • goToLocationZ: number
  • focusLocationX: number
  • focusLocationY: number
  • focusLocationZ: number
  • speed: number
  • shootAtEnemies: boolean
  • distanceToStopAt: number
  • noRoadsDistance: number
  • unkTrue: boolean
  • unkFlag: number
  • aimingFlag: number
  • firingPattern: number

Return value

  • void

Syntax

mp.game.task.goToCoordAndAimAtHatedEntitiesNearCoord(pedHandle, goToLocationX, goToLocationY, goToLocationZ, focusLocationX, focusLocationY, focusLocationZ, speed, shootAtEnemies, distanceToStopAt, noRoadsDistance, unkTrue, unkFlag, aimingFlag, firingPattern)

Example

//todo


See also