Skip to content

graphics ​

267 native definitions. Call through natives.graphics or natives.GRAPHICS.
FunctionReturnsParametersNative hash
_0x085C5B61A0114F32voidp0: Any, p1: Any
_0x0D5B19C34068FEE7voidp0: Any
_0x1460B644397453EBvoid—
_0x171C18E994C1A395voidp0: Any, p1: Any, p2: Any, p3: Any, p4: Any
_0x196D3ACBEBA4A44BvoidpersonaPhotoLocalCacheType: int
_0x1A9F09AB458D49C6voidp0: BOOL
_0x1C6306E5BC25C29Cvoid—
_0x1FF8731BE1DFC0C0voidp0: Any, p1: Any
_0x21F00E08CBB5F37Bvoidcomponent: const char*
_0x249CD6B7285536F2voidp0: Any, p1: Any, p2: Any
_0x26DD2FB0A88CC412voideffectName: const char*, effectName2: const char*, p2: Any, p3: Any
_0x285438C26C732F9DAny—
_0x32DE2BFFDA43E62Avoid—
_0x38D9D50F2085E9B3voideffectNameHash: Hash
_0x3DA7A10583A4BEC0BOOL—
_0x3E2FDDBE435A8787void—
_0x402E1A61D2587FCDBOOLp0: Any, x: float, y: float, z: float, p4: float, p5: float, heading: float
_0x4046493D2EEACA0Evoid—
_0x41F88A85A579A61Dvoidp0: float
_0x453D16D41FC51D3Evoidp0: BOOL
_0x48FE0DB54045B975voidp0: Any, p1: Any, p2: Any, p3: Any, p4: Any, p5: Any, p6: Any
_0x4BD66B4E3427689Bvoidp0: const char*
_0x4FB67D172C4476F3voidentity: Entity, p1: const char*, p2: const char*, p3: float
_0x503941F65DBA24ECvoidp0: Any
_0x519928DF02EB5101voidp0: Any
_0x55285F885F662169void—
_0x5AC6E0FA028369DEvoid—
_0x5C674EB487891F6BAny—
_0x5C9C3A466B3296A8Anyp0: Any
_0x5CD6A2CCE5087161voidp0: Any
_0x62B9F9A1272AED80voidp0: Any
_0x67B0778C62E74423voidp0: Any
_0x6C03118E9E5C1A14voidp0: Any
_0x71845905BCCDE781voideffectNameHash: Hash
_0x735762E8D7573E42voidp0: Any, p1: Any, p2: Any
_0x812C1563185C6FB2void—
_0x815653A42C5ABE76void—
_0x8996FA6AD9FE4E90voidp0: Any
_0x910E260AEAD855DEvoid—
_0x9229ED770975BD9Evoid—
_0x94B261F1F35293E1voidp0: Any
_0x981C7D863980FA51void—
_0x9D1B0B5066205692void—
_0x9F158A49B0D84C3Cvoidp0: Any
_0x9F6D859C80708B26voidp0: BOOL, p1: BOOL
_0xA04EF43030593ABCvoidp0: Any, p1: Any
_0xA0F4D12D6042F6D5voidp0: Any, p1: Any
_0xA15CCAB8AD038291Anyp0: Any, p1: Any, p2: Any, p3: Any
_0xA1A86055792FB249voidpersonaPhotoLocalCacheType: int
_0xA201A3D0AC087C37voideffectName: const char*
_0xA21AF60C9F99CCC5void—
_0xAF4D239B8903FCBEvoid—
_0xB032C085D9A03907void—
_0xB958D97A0DFAA0C2BOOLeffectName: const char*
_0xC06F2F45A73EABCDvoidentity: Entity
_0xC28F62AC9774FC1BAny—
_0xC2B8164C3BE871A4void—
_0xC37792A3F9C90771Any—
_0xC38B4952B728397Avoidvehicle: Vehicle, toggle: BOOL
_0xC489FE31AC726512voidp0: Any, p1: Any
_0xC76FC4C2FC5F4405voideffectNameHash: Hash
_0xC8D0611D9A0CF5D3voidp0: Any
_0xCC3B787E73E64160voidp0: Any, p1: Any, p2: Any, p3: Any, p4: Any
_0xD1472AFF30C103D6voidp0: float
_0xD543487A1F12828Fvoidp0: Any, p1: Any, p2: Any, p3: Any
_0xD9BC98B55BCFAA9Bvoidp0: Any
_0xD9C24F53631F2372BOOLtexture: const char*, ped: Ped, playerSlot: int
_0xDFE332A5DA6FE7C9intiTrackedPoint: int
_0xE63D68F455CA0B47Anyp0: Any, p1: Any, p2: Any, p3: Any, p4: Any, p5: Any, p6: Any
_0xE75CDDEBF618C8FFBOOLeffectNameHash: Hash
_0xE8A8378BF651079CAnyp0: Any, p1: Any, p2: Any, p3: Any, p4: Any
_0xE92012611461A42Avoidp0: Any, p1: Any, p2: Any, p3: Any, p4: Any
_0xEB48CE48EEC41FD4voidp0: Any
_0xEC3D8C228FE553D7BOOLp0: BOOL
_0xEC3F7F24EEEB3BA3void—
_0xF2F543D48F319A3Avoid—
_0xF5793BB386E1FF9Cvoidp0: Any
_0xFB680A9B33D0EDBEvoidp0: BOOL
_0xFBF161FCFEC8589EBOOLeffectName: const char*, p1: int, p2: BOOL, p3: BOOL*
_0xFC9B53C072F418E0Any—
_0xFD05B1DDE83749FABOOLp0: const char*
_0xFF584F097C17FA8FBOOL—
_0xFF8018C778349234voidp0: Any
_add_blood_poolvoidx: float, y: float, z: float, unused: BOOL
_add_blood_pool_2voidx: float, y: float, z: float, p3: float, size: float, p5: float, permanent: BOOL, p7: float, p8: BOOL
_add_blood_pools_for_pedvoidped: Ped
_add_blood_pools_for_ped_with_paramsvoidped: Ped, p1: float, size: float, p3: float
_add_blood_trail_pointvoidx: float, y: float, z: float
_add_blood_trail_splatvoidx: float, y: float, z: float
_add_entity_to_entity_maskvoidentity: Entity, mask: int
_add_entity_to_entity_mask_with_intensityvoidentity: Entity, mask: int, intensity: float
_add_veg_modifier_zoneintvolume: Volume, p1: int, flags: int, p3: int
_animpostfx_clear_effectvoideffectName: const char*
_animpostfx_get_stackhashHasheffectName: const char*
_animpostfx_has_loadedBOOLeffectName: const char*
_animpostfx_is_stackhash_playingBOOLeffectNameHash: Hash
_animpostfx_is_tag_playingBOOLeffectName: const char*
_animpostfx_play_tagvoideffectNameHash: Hash
_animpostfx_play_timedvoideffectName: const char*, duration: int
_animpostfx_preload_postfxvoideffectName: const char*
_animpostfx_preload_postfx_by_stackhashvoideffectNameHash: Hash
_animpostfx_set_postfx_colorvoideffectName: const char*, p1: int, red: int, green: int, blue: int, alpha: int
_animpostfx_set_potencyvoideffectName: const char*, p1: int, potency: float
_animpostfx_set_strengthvoideffectName: const char*, strength: float
_animpostfx_set_to_unloadvoideffectName: const char*
_animpostfx_stop_stackhash_postfxvoideffectNameHash: Hash
_animpostfx_stop_tagvoideffectName: const char*
_block_pickup_object_lightvoidpickupObject: Object, toggle: BOOL
_blood_trail_for_waypointvoidwaypointRecording: const char*, p1: float
_create_swatch_texture_dictBOOLslots: int
_destroy_swatch_texture_dictvoid—
_disable_far_artificial_lightsvoiddisable: BOOL
_disable_static_veg_modifiervoidp0: Hash
_does_checkpoint_have_fxBOOLcheckpoint: int
_draw_markervoidtype: Hash, posX: float, posY: float, posZ: float, dirX: float, dirY: float, dirZ: float, rotX: float, rotY: float, rotZ: float, scaleX: float, scaleY: float, scaleZ: float, red: int, green: int, blue: int, alpha: int, bobUpAndDown: BOOL, faceCamera: BOOL, p19: int, rotate: BOOL, textureDict: const char*, textureName: const char*, drawOnEnts: BOOL
_enable_static_veg_modifiervoidp0: Hash
_generate_swatch_texturevoidslotId: int, componentHash: Hash, metapedType: int, p3: BOOL
_generate_swatch_texture_directlyvoidslot: int, p1: Any
_get_current_number_of_local_photosint—
_get_max_number_of_local_photosint—
_get_modified_visibility_distancefloat—
_get_photo_mode_contrastfloat—
_get_photo_mode_exposurefloat—
_get_proxy_interior_indexintinteriorId: int
_is_proxy_interior_index_artificial_lights_enabledBOOLproxyInteriorIndex: int
_is_static_veg_modifier_enabledBOOLp0: Hash
_is_texture_in_dictBOOLtxdHash: Hash, dict: Hash
_is_tracked_point_validBOOLpoint: int
_remove_entity_from_entity_maskvoidentity: Entity
_set_cloud_heightvoidheight: float
_set_cloud_layervoidx: float, y: float, p2: int
_set_cloud_noisevoidx: float, y: float, z: float
_set_cloud_positionvoidx: float, y: float, z: float
_set_district_photo_taken_statvoidp0: const char*
_set_lights_color_for_entityvoidentity: Entity, red: int, green: int, blue: int
_set_lights_intensity_for_entityvoidentity: Entity, intensity: float
_set_lights_type_for_entityvoidentity: Entity, type: int
_set_particle_fx_looped_update_distant_smokevoidptfxHandle: int, scalar: float
_set_particle_fx_non_looped_emitter_scalevoidp0: float, p1: float, p2: float
_set_pearlescent_fx_enabledvoidobject: Object, toggle: BOOL
_set_photo_in_photomode_statvoidp0: BOOL
_set_photo_overlay_effect_statvoidp0: int
_set_photo_self_statvoidp0: BOOL
_set_photo_studio_statvoidp0: int
_set_player_appear_in_photovoidplayer: Player
_set_posse_id_for_photovoidposseId: Any
_set_proxy_interior_index_artificial_lights_statevoidproxyInteriorIndex: int, state: BOOL
_set_region_photo_taken_statvoidp0: const char*
_set_sniper_glints_enabledvoidenabled: BOOL
_set_snow_coverage_typevoidtype: int
_set_state_photo_taken_statvoidp0: const char*
_start_particle_fx_non_looped_on_ped_bone_2BOOLeffectName: const char*, ped: Ped, offsetX: float, offsetY: float, offsetZ: float, rotX: float, rotY: float, rotZ: float, boneIndex: int, scale: float, axisX: BOOL, axisY: BOOL, axisZ: BOOL
add_decalintp0: Any, p1: Any, p2: Any, p3: Any, p4: Any, p5: Any, p6: Any, p7: Any, p8: Any, p9: Any, p10: Any, p11: Any, p12: Any, p13: Any, p14: Any, p15: Any, p16: Any, p17: Any, p18: Any, p19: Any, p20: Any, p21: Any
add_petrol_trail_decal_infovoidx: float, y: float, z: float, p3: float
add_veg_modifier_sphereintx: float, y: float, z: float, radius: float, modType: int, flags: int, p6: int
allow_pickup_light_syncvoidpickupObject: Object, allow: BOOL
animpostfx_has_event_triggered_by_stackhashBOOLeffectNameHash: Hash, p1: int, p2: BOOL, p3: BOOL*
animpostfx_is_preloading_by_stackhashBOOLeffectNameHash: Hash
animpostfx_is_runningBOOLeffectName: const char*
animpostfx_playvoideffectName: const char*
animpostfx_stopvoideffectName: const char*
animpostfx_stop_allvoid—
attach_tv_audio_to_entityvoidentity: Entity
begin_create_low_quality_copy_of_photoBOOLp0: int
begin_take_high_quality_photoBOOL—
block_pickup_placement_lightvoidpickup: Pickup, toggle: BOOL
cascade_shadows_clear_shadow_sample_typevoid—
cascade_shadows_enable_entity_trackervoidtoggle: BOOL
cascade_shadows_set_cascade_boundsvoidp0: Any, p1: BOOL, p2: float, p3: float, p4: float, p5: float, p6: BOOL, p7: float
cascade_shadows_set_shadow_sample_typevoidtype: const char*
clear_timecycle_modifiervoid—
create_checkpoint_with_namehashinttypeHash: Hash, posX1: float, posY1: float, posZ1: float, posX2: float, posY2: float, posZ2: float, radius: float, red: int, green: int, blue: int, alpha: int, reserved: int
create_tracked_pointint—
delete_checkpointvoidcheckpoint: int
destroy_tracked_pointvoidpoint: int
disable_entitymaskvoid—
disable_hdtex_this_framevoid—
does_particle_fx_looped_existBOOLptfxHandle: int
draw_light_with_rangevoidposX: float, posY: float, posZ: float, colorR: int, colorG: int, colorB: int, range: float, intensity: float
draw_low_quality_photo_to_phonevoidp0: BOOL, p1: BOOL
draw_rectvoidx: float, y: float, width: float, height: float, red: int, green: int, blue: int, alpha: int, p8: BOOL, p9: BOOL
draw_spritevoidtextureDict: const char*, textureName: const char*, screenX: float, screenY: float, width: float, height: float, heading: float, red: int, green: int, blue: int, alpha: int, p11: BOOL
draw_tv_channelvoidxPos: float, yPos: float, xScale: float, yScale: float, rotation: float, red: int, green: int, blue: int, alpha: int
enable_entitymaskvoid—
enable_moon_cycle_overridevoidstrength: float
enable_movie_subtitlesvoidtoggle: BOOL
end_petrol_trail_decalsvoid—
free_memory_for_high_quality_photovoid—
free_memory_for_low_quality_photovoid—
free_memory_for_mission_creator_photovoid—
get_screen_coord_from_world_coordBOOLworldX: float, worldY: float, worldZ: float, screenX: float*, screenY: float*
get_screen_resolutionvoidx: int*, y: int*
get_status_of_create_low_quality_copy_of_photointp0: Any
get_status_of_load_mission_creator_photointp0: Any*
get_status_of_save_high_quality_photoint—
get_status_of_sorted_list_operationint—
get_status_of_take_high_quality_photoint—
get_timecycle_modifier_indexint—
get_timecycle_transition_modifier_indexint—
get_toggle_paused_renderphases_statusBOOL—
get_tv_channelint—
is_decal_aliveBOOLdecal: int
is_photo_frameBOOL—
is_tracked_point_visibleBOOLpoint: int
is_tvshow_currently_playingBOOLvideoCliphash: Hash
load_mission_creator_photoBOOLp0: Any*, p1: Any, p2: Any, p3: Any
pedshot_is_availableBOOL—
queue_operation_to_create_sorted_list_of_photosAny—
remove_decalvoiddecal: int
remove_decals_from_objectvoidobj: Object
remove_decals_in_rangevoidx: float, y: float, z: float, range: float
remove_grass_cull_spherevoidhandle: int
remove_particle_fxvoidptfxHandle: int, p1: BOOL
remove_particle_fx_from_entityvoidentity: Entity
remove_particle_fx_in_rangevoidX: float, Y: float, Z: float, radius: float
remove_veg_modifier_spherevoidvegModifierHandle: int, p1: int
reset_adaptationvoidunk: int
reset_particle_fx_overridevoidname: const char*
reset_paused_renderphasesvoid—
save_high_quality_photoBOOLunused: int
set_artificial_lights_statevoidstate: BOOL
set_checkpoint_rgbavoidcheckpoint: int, red: int, green: int, blue: int, alpha: int
set_checkpoint_rgba2voidcheckpoint: int, red: int, green: int, blue: int, alpha: int
set_disable_petrol_decals_igniting_this_framevoid—
set_grass_cull_sphereintx: float, y: float, z: float, p3: float, p4: int
set_hidof_overridevoidp0: BOOL, p1: BOOL, p2: float, p3: float, p4: float, p5: float
set_particle_fx_ambient_colourvoidentity: Entity, p1: const char*, r: float, g: float, b: float
set_particle_fx_bullet_impact_lodrange_scalevoidp0: float
set_particle_fx_bullet_impact_scalevoidscale: float
set_particle_fx_foot_lodrange_scalevoidp0: float
set_particle_fx_looped_alphavoidptfxHandle: int, alpha: float
set_particle_fx_looped_colourvoidptfxHandle: int, r: float, g: float, b: float, p4: BOOL
set_particle_fx_looped_evolutionvoidptfxHandle: int, propertyName: const char*, amount: float, noNetwork: BOOL
set_particle_fx_looped_far_clip_distvoidptfxHandle: int, range: float
set_particle_fx_looped_offsetsvoidptfxHandle: int, x: float, y: float, z: float, rotX: float, rotY: float, rotZ: float
set_particle_fx_looped_scalevoidptfxHandle: int, scale: float
set_particle_fx_non_looped_alphavoidalpha: float
set_particle_fx_non_looped_colourvoidr: float, g: float, b: float
set_particle_fx_overridevoidoldAsset: const char*, newAsset: const char*
set_pickup_lightvoidobject: Object, toggle: BOOL
set_script_gfx_draw_behind_pausemenuvoidtoggle: BOOL
set_script_gfx_draw_ordervoiddrawOrder: int
set_timecycle_modifiervoidmodifierName: const char*
set_timecycle_modifier_strengthvoidstrength: float
set_tracked_point_infovoidpoint: int, x: float, y: float, z: float, radius: float
set_transition_out_of_timecycle_modifiervoidstrength: float
set_transition_timecycle_modifiervoidmodifierName: const char*, transitionBlend: float
set_tv_audio_frontendvoidtoggle: BOOL
set_tv_channelvoidchannel: int
set_tv_channel_playlistvoidtvChannel: int, playlistName: const char*, restart: BOOL
set_tv_volumevoidvolume: float
start_networked_particle_fx_looped_on_entityinteffectName: const char*, entity: Entity, xOffset: float, yOffset: float, zOffset: float, xRot: float, yRot: float, zRot: float, scale: float, xAxis: BOOL, yAxis: BOOL, zAxis: BOOL
start_networked_particle_fx_looped_on_entity_boneinteffectName: const char*, entity: Entity, xOffset: float, yOffset: float, zOffset: float, xRot: float, yRot: float, zRot: float, boneIndex: int, scale: float, xAxis: BOOL, yAxis: BOOL, zAxis: BOOL
start_networked_particle_fx_non_looped_at_coordBOOLeffectName: const char*, xPos: float, yPos: float, zPos: float, xRot: float, yRot: float, zRot: float, scale: float, xAxis: BOOL, yAxis: BOOL, zAxis: BOOL
start_networked_particle_fx_non_looped_on_entityBOOLeffectName: const char*, entity: Entity, offsetX: float, offsetY: float, offsetZ: float, rotX: float, rotY: float, rotZ: float, scale: float, axisX: BOOL, axisY: BOOL, axisZ: BOOL
start_particle_fx_looped_at_coordinteffectName: const char*, x: float, y: float, z: float, xRot: float, yRot: float, zRot: float, scale: float, xAxis: BOOL, yAxis: BOOL, zAxis: BOOL, p11: BOOL
start_particle_fx_looped_on_entityinteffectName: const char*, entity: Entity, xOffset: float, yOffset: float, zOffset: float, xRot: float, yRot: float, zRot: float, scale: float, xAxis: BOOL, yAxis: BOOL, zAxis: BOOL
start_particle_fx_looped_on_entity_boneinteffectName: const char*, entity: Entity, xOffset: float, yOffset: float, zOffset: float, xRot: float, yRot: float, zRot: float, boneIndex: int, scale: float, xAxis: BOOL, yAxis: BOOL, zAxis: BOOL
start_particle_fx_looped_on_ped_boneinteffectName: const char*, ped: Ped, xOffset: float, yOffset: float, zOffset: float, xRot: float, yRot: float, zRot: float, boneIndex: int, scale: float, xAxis: BOOL, yAxis: BOOL, zAxis: BOOL
start_particle_fx_non_looped_at_coordinteffectName: const char*, xPos: float, yPos: float, zPos: float, xRot: float, yRot: float, zRot: float, scale: float, xAxis: BOOL, yAxis: BOOL, zAxis: BOOL
start_particle_fx_non_looped_on_entityBOOLeffectName: const char*, entity: Entity, offsetX: float, offsetY: float, offsetZ: float, rotX: float, rotY: float, rotZ: float, scale: float, axisX: BOOL, axisY: BOOL, axisZ: BOOL
start_particle_fx_non_looped_on_ped_boneBOOLeffectName: const char*, ped: Ped, offsetX: float, offsetY: float, offsetZ: float, rotX: float, rotY: float, rotZ: float, boneIndex: int, scale: float, axisX: BOOL, axisY: BOOL, axisZ: BOOL
start_petrol_trail_decalsvoidp0: Any, p1: Any
stop_particle_fx_loopedvoidptfxHandle: int, p1: BOOL
toggle_paused_renderphasesvoidtoggle: BOOL
update_lights_on_entityvoidentity: Entity
use_particle_fx_assetvoidfxName: const char*

Generated declarations; individual native behaviour may be undocumented. See argument and result mapping before calling a native.