From RAGE Multiplayer Wiki
Jump to navigation Jump to search

Note: Look in decompiled scripts and the times that p1 and p2 aren't 0. They are filled with vars. If you look through out that script what other natives those vars are used in, you can tell p1 is a ped and p2 is a vehicle. Which most likely means if you want the mounted weapon to target a ped set targetVehicle to 0 or vice-versa.


player.setMountedWeaponTarget(targetEntity, p2, x, y, z);

Required Arguments

  • targetEntity: Entity handle or object
  • p2: unknown (to be checked)
  • x: float
  • y: float
  • z: float

Return value

  • Undefined


// todo

See also