Skip to content

VimpNativesMobile ​

@vimp-mp/types 2.0.1

Interface · GTA V natives API

ts
interface VimpNativesMobile

Members ​

canPhoneBeSeenOnScreen ​

ts
canPhoneBeSeenOnScreen(): boolean

cellCamActivate ​

ts
cellCamActivate(p0: boolean, p1: boolean): void

cellCamActivateSelfieMode ​

ts
cellCamActivateSelfieMode(toggle: boolean): void

cellCamActivateShallowDofMode ​

ts
cellCamActivateShallowDofMode(toggle: boolean): void

cellCamIsCharVisibleNoFaceCheck ​

ts
cellCamIsCharVisibleNoFaceCheck(entity: number): boolean

cellCamSetSelfieModeDistanceScaling ​

ts
cellCamSetSelfieModeDistanceScaling(distancescaling: number): void

cellCamSetSelfieModeHeadPitchOffset ​

ts
cellCamSetSelfieModeHeadPitchOffset(pitch: number): void

cellCamSetSelfieModeHeadRollOffset ​

ts
cellCamSetSelfieModeHeadRollOffset(roll: number): void

cellCamSetSelfieModeHeadYawOffset ​

ts
cellCamSetSelfieModeHeadYawOffset(yaw: number): void

cellCamSetSelfieModeHorzPanOffset ​

ts
cellCamSetSelfieModeHorzPanOffset(horizontalpan: number): void

cellCamSetSelfieModeRollOffset ​

ts
cellCamSetSelfieModeRollOffset(roll: number): void

cellCamSetSelfieModeSideOffsetScaling ​

ts
cellCamSetSelfieModeSideOffsetScaling(p0: number): void

cellCamSetSelfieModeVertPanOffset ​

ts
cellCamSetSelfieModeVertPanOffset(vertpan: number): void

cellHorizontalModeToggle ​

ts
cellHorizontalModeToggle(toggle: boolean): void

cellSetInput ​

ts
cellSetInput(direction: number): void

createMobilePhone ​

ts
createMobilePhone(phonetype: number): void

destroyMobilePhone ​

ts
destroyMobilePhone(): void

getMobilePhonePosition ​

ts
getMobilePhonePosition(): { position: { x: number; y: number; z: number } }

getMobilePhoneRenderId ​

ts
getMobilePhoneRenderId(): { renderid: number }

getMobilePhoneRotation ​

ts
getMobilePhoneRotation(p1: number): { rotation: { x: number; y: number; z: number } }

scriptIsMovingMobilePhoneOffscreen ​

ts
scriptIsMovingMobilePhoneOffscreen(toggle: boolean): void

setMobilePhoneDofState ​

ts
setMobilePhoneDofState(toggle: boolean): void

setMobilePhonePosition ​

ts
setMobilePhonePosition(posx: number, posy: number, posz: number): void

setMobilePhoneRotation ​

ts
setMobilePhoneRotation(rotx: number, roty: number, rotz: number, p3: number): void

setMobilePhoneScale ​

ts
setMobilePhoneScale(scale: number): void

VIMP developer documentation