Cam::createCameraWithParams

From RAGE Multiplayer Wiki
Jump to navigation Jump to search

CAM::_GET_GAMEPLAY_CAM_COORDS can be used instead of posX,Y,Z
CAM::_GET_GAMEPLAY_CAM_ROT can be used instead of rotX,Y,Z
CAM::_80EC114669DAEFF4() can be used instead of p7 (Possible p7 is FOV parameter. )
p8 ???
p9 uses 2 by default

Syntax

mp.game.cam.createCameraWithParams(camHash, posX, posY, posZ, rotX, rotY, rotZ, fov, p8, p9);

Required Arguments

  • camHash: Model hash or name
  • posX: float
  • posY: float
  • posZ: float
  • rotX: float
  • rotY: float
  • rotZ: float
  • fov: float
  • p8: Boolean
  • p9: unknown (to be checked)

Return value

  • Cam

Example

// todo

See also

Template:Cam s function c