GRAPHICS
82 natives, 46 of them described.
- ADD_SPHEREAddSphere
Not described yet
- CLEAR_TIMECYCLE_MODIFIERClearTimecycleModifier
Not described yet
- CREATE_CHECKPOINTCreateCheckpoint
Creates a race checkpoint.
- CREATE_USER_3D_MARKERCreateUser3dMarker
Not described yet
- DELETE_CHECKPOINTDeleteCheckpoint
Removes a checkpoint.
- DRAW_CHECKPOINTDrawCheckpoint
Draws a cylinder marker.
- DRAW_CHECKPOINT_WITH_ALPHADrawCheckpointWithAlpha
Draws a cylinder marker with an alpha value.
- DRAW_COLOURED_CYLINDERDrawColouredCylinder
Not described yet
- DRAW_CORONADrawCorona
Not described yet
- DRAW_CURVED_WINDOWDrawCurvedWindow
Draws a curved window.
- DRAW_DEBUG_SPHEREDrawDebugSphere
This native function doesn't work (debug function removed in release build).
- DRAW_LIGHT_WITH_RANGEDrawLightWithRange
Adds a light with the scene.
- DRAW_MOVIEDrawMovie
Draws a movie to the screen.
- DRAW_RECTDrawRect
Renders a rectangle to the screen.
- DRAW_SPHEREDrawSphere
Not described yet
- DRAW_SPRITEDrawSprite
Not described yet
- DRAW_SPRITE_WITH_FIXED_ROTATIONDrawSpriteWithFixedRotation
Not described yet
- DRAW_SPRITE_WITH_UVDrawSpriteWithUv
Not described yet
- DRAW_SPRITE_WITH_UV_COORDSDrawSpriteWithUvCoords
Not described yet
- DRAW_TOPLEVEL_SPRITEDrawToplevelSprite
Not described yet
- DRAW_WINDOWDrawWindow
Not described yet
- ENABLE_DEFERRED_LIGHTINGEnableDeferredLighting
Not described yet
- ENABLE_FANCY_WATEREnableFancyWater
Not described yet
- ENABLE_FOV_LOD_MULTIPLIEREnableFovLodMultiplier
Not described yet
- ENABLE_SHADOWSEnableShadows
Not described yet
- EVOLVE_PTFXEvolvePtfx
Sets the evolution data of a previously started particle effect.
- FORCE_LOADING_SCREENForceLoadingScreen
Not described yet
- FORCE_NOISE_OFFForceNoiseOff
Not described yet
- GET_ASPECT_RATIOGetAspectRatio
Not described yet
- GET_IS_HIDEFGetIsHidef
Returns if running in hidef.
- GET_IS_WIDESCREENGetIsWidescreen
Returns if running widescreen.
- GET_PHYSICAL_SCREEN_RESOLUTIONGetPhysicalScreenResolution
Returns physical the screen resolution.
- GET_SCREEN_RESOLUTIONGetScreenResolution
Returns the screen resolution.
- GET_TEXTUREGetTexture
Not described yet
- GET_TEXTURE_FROM_STREAMED_TXDGetTextureFromStreamedTxd
Not described yet
- GET_TEXTURE_RESOLUTIONGetTextureResolution
Gets the resolution of a texture.
- GET_TXDGetTxd
Not described yet
- HAS_STREAMED_TXD_LOADEDHasStreamedTxdLoaded
Checks that the streamed texture dictionary has loaded.
- LINELine
This native function doesn't work (nullsub).
- LOAD_TXDLoadTxd
Not described yet
- MARK_STREAMED_TXD_AS_NO_LONGER_NEEDEDMarkStreamedTxdAsNoLongerNeeded
Not described yet
- PLAY_MOVIEPlayMovie
Plays a loaded movie.
- RELEASE_MOVIEReleaseMovie
Frees the memory allocated to the movie.
- RELEASE_TEXTUREReleaseTexture
Not described yet
- REMOVE_PROJTEX_IN_RANGERemoveProjtexInRange
Not described yet
- REMOVE_PTFXRemovePtfx
Remove a particle effect.
- REMOVE_PTFX_FROM_OBJECTRemovePtfxFromObject
Not described yet
- REMOVE_PTFX_FROM_PEDRemovePtfxFromPed
Not described yet
- REMOVE_PTFX_FROM_VEHICLERemovePtfxFromVehicle
Not described yet
- REMOVE_SPHERERemoveSphere
Not described yet
- REMOVE_TXDRemoveTxd
Not described yet
- REMOVE_USER_3D_MARKERRemoveUser3dMarker
This native function doesn't work (nullsub).
- REQUEST_STREAMED_TXDRequestStreamedTxd
Requests a texture dictionary.
- SET_CURRENT_MOVIESetCurrentMovie
Allocates memory and loads the specified movie file.
- SET_GLOBAL_RENDER_FLAGSSetGlobalRenderFlags
Not described yet
- SET_MASKSetMask
Masks off an area on screen where no graphics will be drawn.
- SET_MOVIE_TIMESetMovieTime
Sets the time of the current movie.
- SET_MOVIE_VOLUMESetMovieVolume
Sets the volume of the movie audio.
- SET_PED_FIRE_FX_LOD_SCALERSetPedFireFxLodScaler
Not described yet
- SET_PTFX_CAM_INSIDE_VEHICLESetPtfxCamInsideVehicle
Not described yet
- SET_SPRITE_HDR_MULTIPLIERSetSpriteHdrMultiplier
This native function doesn't work (nullsub).
- SET_SPRITES_DRAW_BEFORE_FADESetSpritesDrawBeforeFade
Sets a rectangle or sprite to be drawn on top of any fade.
- SET_TIMECYCLE_MODIFIERSetTimecycleModifier
Forces the timecycle modifier to be used for 100%.
- START_PTFXStartPtfx
Start a particle effect at a world position and orientation.
- START_PTFX_ON_OBJStartPtfxOnObj
Start a particle effect on an object with an offset position and orientation.
- START_PTFX_ON_OBJ_BONEStartPtfxOnObjBone
Start a particle effect on a object bone with an offset position and orientation.
- START_PTFX_ON_PEDStartPtfxOnPed
Start a particle effect on an character with an offset position and orientation.
- START_PTFX_ON_PED_BONEStartPtfxOnPedBone
Start a particle effect on a character bone with an offset position and orientation.
- START_PTFX_ON_VEHStartPtfxOnVeh
Start a particle effect on an car with an offset position and orientation.
- STOP_MOVIEStopMovie
Stops a movie playing.
- STOP_PTFXStopPtfx
Stop a previously started particle effect.
- TOGGLE_TOPLEVEL_SPRITEToggleToplevelSprite
Not described yet
- TRIGGER_PTFXTriggerPtfx
Trigger a particle effect at a world position and orientation.
- TRIGGER_PTFX_ON_OBJTriggerPtfxOnObj
Trigger a particle effect on an object with an offset position and orientation.
- TRIGGER_PTFX_ON_OBJ_BONETriggerPtfxOnObjBone
Trigger a particle effect on an object with an offset position and orientation.
- TRIGGER_PTFX_ON_PEDTriggerPtfxOnPed
Trigger a particle effect on an character with an offset position and orientation.
- TRIGGER_PTFX_ON_PED_BONETriggerPtfxOnPedBone
Trigger a particle effect on an character with an offset position and orientation.
- TRIGGER_PTFX_ON_VEHTriggerPtfxOnVeh
Trigger a particle effect on an car with an offset position and orientation.
- UPDATE_PTFX_OFFSETSUpdatePtfxOffsets
Update the position and/or rotation offsets of a previously started particle effect.
- UPDATE_PTFX_TINTUpdatePtfxTint
Sets the tint of a previously started particle effect.
- USE_MASKUseMask
Sets a mask active.
- WASH_VEHICLE_TEXTURESWashVehicleTextures
Not described yet
Descriptions by the HappinessMP community, licensed under CC BY-SA 4.0. You may reuse them if you name HappinessMP as the source and share your version under the same license.