function native . graphics . free_memory_for_mission_creator_photo () : void
function native . graphics . load_mission_creator_photo ( p0 : ptr int , p1 : int , p2 : int , p3 : int ) : bool
contentId: returned by NETWORK::_UGC_QUERY_GET_CREATOR_PHOTO(uVar0, 0, sParam3)
function native . graphics . get_status_of_load_mission_creator_photo ( content_id : string ) : int
function native . graphics . begin_take_high_quality_photo () : bool
function native . graphics . get_status_of_take_high_quality_photo () : int
function native . graphics . free_memory_for_high_quality_photo () : void
function native . graphics . _set_photo_self_stat ( p0 : bool ) : void
function native . graphics . _set_photo_studio_stat ( p0 : int ) : void
function native . graphics . _set_posse_id_for_photo ( posse_id : int ) : void
function native . graphics . _0x9f6d859c80708b26 ( p0 : bool , p1 : bool ) : void
function native . graphics . is_photo_frame () : bool
function native . graphics . _set_photo_in_photomode_stat ( p0 : bool ) : void
function native . graphics . _set_photo_overlay_effect_stat ( p0 : int ) : void
Gets set to 1 when GET_STATUS_OF_TAKE_HIGH_QUALITY_PHOTO = PHOTO_OPERATION_SUCCEEDED
function native . graphics . _0x0d5b19c34068fee7 ( p0 : int ) : void
function native . graphics . _set_player_appear_in_photo ( player : int ) : void
function native . graphics . _set_region_photo_taken_stat ( p0 : string ) : void
function native . graphics . _set_district_photo_taken_stat ( p0 : string ) : void
function native . graphics . _set_state_photo_taken_stat ( p0 : string ) : void
function native . graphics . save_high_quality_photo ( unused : int ) : bool
0 = succeeded
1 = getting status
2 = failed
function native . graphics . get_status_of_save_high_quality_photo () : int
Called together with FREE_MEMORY_FOR_LOW_QUALITY_PHOTO
function native . graphics . begin_create_low_quality_copy_of_photo ( p0 : int ) : bool
Old name: _GET_STATUS_OF_DRAW_LOW_QUALITY_PHOTO
function native . graphics . get_status_of_create_low_quality_copy_of_photo ( p0 : int ) : int
function native . graphics . free_memory_for_low_quality_photo () : void
nullsub, doesn't do anything (GTA5 leftover, there is no phone in RDR3)
function native . graphics . draw_low_quality_photo_to_phone ( p0 : bool , photo_rotation : int ) : void
function native . graphics . _get_max_number_of_local_photos () : int
function native . graphics . _get_current_number_of_local_photos () : int
function native . graphics . queue_operation_to_create_sorted_list_of_photos () : int
0 = succeeded
1 = getting status
2 = failed
function native . graphics . get_status_of_sorted_list_operation () : int
function native . graphics . draw_light_with_range ( pos_x : float , pos_y : float , pos_z : float , color_r : int , color_g : int , color_b : int , range : float , intensity : float ) : void
function native . graphics . update_lights_on_entity ( entity : int ) : void
function native . graphics . _set_lights_color_for_entity ( entity : int , red : int , green : int , blue : int ) : void
function native . graphics . _set_lights_intensity_for_entity ( entity : int , intensity : float ) : void
type must be less than or equal to 20
function native . graphics . _set_lights_type_for_entity ( entity : int , type : int ) : void
function native . graphics . _draw_marker ( type : int , pos_x : float , pos_y : float , pos_z : float , dir_x : float , dir_y : float , dir_z : float , rot_x : float , rot_y : float , rot_z : float , scale_x : float , scale_y : float , scale_z : float , red : int , green : int , blue : int , alpha : int , bob_up_and_down : bool , face_camera : bool , p19 : int , rotate : bool , texture_dict : string , texture_name : string , draw_on_ents : bool ) : void
function native . graphics . create_checkpoint_with_namehash ( type_hash : int , pos_x1 : float , pos_y1 : float , pos_z1 : float , pos_x2 : float , pos_y2 : float , pos_z2 : float , radius : float , red : int , green : int , blue : int , alpha : int , reserved : int ) : int
function native . graphics . _does_checkpoint_have_fx ( checkpoint : int ) : bool
Sets the checkpoint color.
function native . graphics . set_checkpoint_rgba ( checkpoint : int , red : int , green : int , blue : int , alpha : int ) : void
Sets the checkpoint icon color.
function native . graphics . set_checkpoint_rgba2 ( checkpoint : int , red : int , green : int , blue : int , alpha : int ) : void
function native . graphics . _0xcc3b787e73e64160 ( p0 : int , p1 : int , p2 : int , p3 : int , p4 : int ) : void
function native . graphics . _0x171c18e994c1a395 ( p0 : int , p1 : int , p2 : int , p3 : int , p4 : int ) : void
function native . graphics . delete_checkpoint ( checkpoint : int ) : void
Draws a rectangle on the screen.
-x: The relative X point of the center of the rectangle. (0.0-1.0, 0.0 is the left edge of the screen, 1.0 is the right edge of the screen)
-y: The relative Y point of the center of the rectangle. (0.0-1.0, 0.0 is the top edge of the screen, 1.0 is the bottom edge of the screen)
-width: The relative width of the rectangle. (0.0-1.0, 1.0 means the whole screen width)
-height: The relative height of the rectangle. (0.0-1.0, 1.0 means the whole screen height)
-R: Red part of the color. (0-255)
-G: Green part of the color. (0-255)
-B: Blue part of the color. (0-255)
-A: Alpha part of the color. (0-255, 0 means totally transparent, 255 means totally opaque)
function native . graphics . draw_rect ( x : float , y : float , width : float , height : float , red : int , green : int , blue : int , alpha : int , p8 : bool , p9 : bool ) : void
Sets a flag defining whether or not script draw commands should continue being drawn behind the pause menu. This is usually used for draw commands that are used with a world render target.
function native . graphics . set_script_gfx_draw_behind_pausemenu ( toggle : bool ) : void
Sets the draw order for script draw commands.
function native . graphics . set_script_gfx_draw_order ( draw_order : int ) : void
Draws a 2D sprite on the screen.
Parameters:
textureDict - Name of texture dictionary to load texture from
textureName - Name of texture to load from texture dictionary
screenX/Y - Screen offset (0.5 = center)
scaleX/Y - Texture scaling. Negative values can be used to flip the texture on that axis. (0.5 = half)
heading - Texture rotation in degrees (default = 0.0) positive is clockwise, measured in degrees
red,green,blue - Sprite color (default = 255/255/255)
alpha - opacity level
https://github.com/femga/rdr3_discoveries/tree/master/useful_info_from_rpfs/textures
function native . graphics . draw_sprite ( texture_dict : string , texture_name : string , screen_x : float , screen_y : float , width : float , height : float , heading : float , red : int , green : int , blue : int , alpha : int , p11 : bool ) : void
function native . graphics . attach_tv_audio_to_entity ( entity : int ) : void
Probably changes tvs from being a 3d audio to being "global" audio
function native . graphics . set_tv_audio_frontend ( toggle : bool ) : void
Hardcoded to always set x to 1280 and y to 720.
function native . graphics . get_screen_resolution ( x : ptr int , y : ptr int ) : void
function native . graphics . _0xa04ef43030593abc ( p0 : int , p1 : int ) : void
function native . graphics . _0xa21af60c9f99ccc5 () : void
function native . graphics . _0xc28f62ac9774fc1b () : int
function native . graphics . _0xeb48ce48eec41fd4 ( p0 : int ) : void
function native . graphics . get_screen_coord_from_world_coord ( world_x : float , world_y : float , world_z : float , screen_x : ptr int , screen_y : ptr int ) : bool
function native . graphics . _is_texture_in_dict ( txd_hash : int , dict : int ) : bool
Does not affect weapons, particles, fire/explosions, flashlights or the sun.
When set to true, all emissive textures (including ped components that have light effects), street lights, building lights, vehicle lights, etc will all be turned off.
state: True turns off all artificial light sources in the map: buildings, street lights, car lights, etc. False turns them back on.
function native . graphics . set_artificial_lights_state ( state : bool ) : void
function native . graphics . disable_hdtex_this_frame () : void
Used in shop scripts for CATALOG_BOOK
false = Normal -> CATALOG_BOOK_SHUTDOWN
true = Trees flickering? -> CATALOG_BOOK_OPEN
function native . graphics . _0x1a9f09ab458d49c6 ( p0 : bool ) : void
Creates a tracked point, useful for checking the visibility of a 3D point on screen.
function native . graphics . create_tracked_point () : int
function native . graphics . set_tracked_point_info ( point : int , x : float , y : float , z : float , radius : float ) : void
function native . graphics . is_tracked_point_visible ( point : int ) : bool
Returns iNumPixels, iPixelsVisible
function native . graphics . _0xdfe332a5da6fe7c9 ( i_tracked_point : int ) : int
function native . graphics . destroy_tracked_point ( point : int ) : void
function native . graphics . _is_tracked_point_valid ( point : int ) : bool
Returns handle to be used with REMOVE_GRASS_CULL_SPHERE
function native . graphics . set_grass_cull_sphere ( x : float , y : float , z : float , p3 : float , p4 : int ) : int
function native . graphics . remove_grass_cull_sphere ( handle : int ) : void
Adds Vegetation Blocking Zone, Added Snow Flattening veg mod Zone
Returns veg modifier handle
function native . graphics . _add_veg_modifier_zone ( volume : int , p1 : int , flags : int , p3 : int ) : int
Returns veg modifier handle
function native . graphics . add_veg_modifier_sphere ( x : float , y : float , z : float , radius : float , mod_type : int , flags : int , p6 : int ) : int
function native . graphics . remove_veg_modifier_sphere ( veg_modifier_handle : int , p1 : int ) : void
function native . graphics . _enable_static_veg_modifier ( p0 : int ) : void
function native . graphics . _disable_static_veg_modifier ( p0 : int ) : void
function native . graphics . _is_static_veg_modifier_enabled ( p0 : int ) : bool
function native . graphics . _0xec3f7f24eeeb3ba3 () : void
function native . graphics . _0x9f158a49b0d84c3c ( p0 : int ) : void
function native . graphics . _0x910e260aead855de () : void
function native . graphics . _create_swatch_texture_dict ( slots : int ) : bool
function native . graphics . _destroy_swatch_texture_dict () : void
function native . graphics . _generate_swatch_texture_directly ( slot : int , p1 : int ) : void
Example:
local hash = GetHashKey("CLOTHING_ITEM_M_EYES_001_TINT_001")
_GENERATE_SWATCH_TEXTURE(0, hash, 0, true)
metapedType: see 0xEC9A1261BF0CE510
function native . graphics . _generate_swatch_texture ( slot_id : int , component_hash : int , metaped_type : int , p3 : bool ) : void
function native . graphics . cascade_shadows_set_cascade_bounds ( p0 : int , p1 : bool , p2 : float , p3 : float , p4 : float , p5 : float , p6 : bool , p7 : float ) : void
When this is set to ON, shadows only draw as you get nearer.
When OFF, they draw from a further distance.
function native . graphics . cascade_shadows_enable_entity_tracker ( toggle : bool ) : void
Possible values:
"CSM_ST_POINT"
"CSM_ST_LINEAR"
"CSM_ST_BOX3x3"
"CSM_ST_BOX4x4"
"CSM_ST_DITHER2_LINEAR"
"CSM_ST_CUBIC"
"CSM_ST_POISSON16"
"CSM_ST_SOFT8"
"CSM_ST_SOFT16"
"CSM_ST_SOFT32"
"CSM_ST_DITHER16_RPDB"
"CSM_ST_POISSON16_RPDB_GNORM"
"CSM_ST_HIGHRES_BOX4x4"
"CSM_ST_ESM"
function native . graphics . cascade_shadows_set_shadow_sample_type ( type : string ) : void
function native . graphics . cascade_shadows_clear_shadow_sample_type () : void
function native . graphics . _0x503941f65dba24ec ( p0 : int ) : void
function native . graphics . _0x815653a42c5abe76 () : void
function native . graphics . _0xff8018c778349234 ( p0 : int ) : void
Sets an unknown value related to timecycles.
function native . graphics . reset_adaptation ( unk : int ) : void
function native . graphics . toggle_paused_renderphases ( toggle : bool ) : void
function native . graphics . get_toggle_paused_renderphases_status () : bool
function native . graphics . reset_paused_renderphases () : void
Old name: _SET_HIDOF_ENV_BLUR_PARAMS
function native . graphics . set_hidof_override ( p0 : bool , p1 : bool , p2 : float , p3 : float , p4 : float , p5 : float ) : void
Params: component - used in odriscolls1 and sean1 R* SP Script: COMPONENT_BINOCULARS_SCOPE01
Triggers the binocular scaleform
function native . graphics . _0x21f00e08cbb5f37b ( component : string ) : void
Closes the the binocular scaleform
function native . graphics . _0x5ac6e0fa028369de () : void
function native . graphics . _0xec3d8c228fe553d7 ( p0 : bool ) : bool
function native . graphics . _0xf5793bb386e1ff9c ( p0 : int ) : void
function native . graphics . _0x5cd6a2cce5087161 ( p0 : int ) : void
function native . graphics . _0xc8d0611d9a0cf5d3 ( p0 : int ) : void
function native . graphics . _get_photo_mode_exposure () : float
function native . graphics . _0x62b9f9a1272aed80 ( p0 : int ) : void
function native . graphics . _get_photo_mode_contrast () : float
function native . graphics . _0x9229ed770975bd9e () : void
function native . graphics . start_particle_fx_non_looped_at_coord ( effect_name : string , x_pos : float , y_pos : float , z_pos : float , x_rot : float , y_rot : float , z_rot : float , scale : float , x_axis : bool , y_axis : bool , z_axis : bool ) : bool
function native . graphics . start_networked_particle_fx_non_looped_at_coord ( effect_name : string , x_pos : float , y_pos : float , z_pos : float , x_rot : float , y_rot : float , z_rot : float , scale : float , x_axis : bool , y_axis : bool , z_axis : bool ) : bool
function native . graphics . start_particle_fx_non_looped_on_ped_bone ( effect_name : string , ped : int , offset_x : float , offset_y : float , offset_z : float , rot_x : float , rot_y : float , rot_z : float , bone_index : int , scale : float , axis_x : bool , axis_y : bool , axis_z : bool ) : bool
function native . graphics . start_particle_fx_non_looped_on_entity ( effect_name : string , entity : int , offset_x : float , offset_y : float , offset_z : float , rot_x : float , rot_y : float , rot_z : float , scale : float , axis_x : bool , axis_y : bool , axis_z : bool ) : bool
function native . graphics . start_networked_particle_fx_non_looped_on_entity ( effect_name : string , entity : int , offset_x : float , offset_y : float , offset_z : float , rot_x : float , rot_y : float , rot_z : float , scale : float , axis_x : bool , axis_y : bool , axis_z : bool ) : bool
function native . graphics . _start_particle_fx_non_looped_on_ped_bone_2 ( effect_name : string , ped : int , offset_x : float , offset_y : float , offset_z : float , rot_x : float , rot_y : float , rot_z : float , bone_index : int , scale : float , axis_x : bool , axis_y : bool , axis_z : bool ) : bool
function native . graphics . set_particle_fx_non_looped_colour ( r : float , g : float , b : float ) : void
function native . graphics . set_particle_fx_non_looped_alpha ( alpha : float ) : void
function native . graphics . _set_particle_fx_non_looped_emitter_scale ( p0 : float , p1 : float , p2 : float ) : void
function native . graphics . start_particle_fx_looped_at_coord ( effect_name : string , x : float , y : float , z : float , x_rot : float , y_rot : float , z_rot : float , scale : float , x_axis : bool , y_axis : bool , z_axis : bool , p11 : bool ) : int
function native . graphics . start_particle_fx_looped_on_ped_bone ( effect_name : string , ped : int , x_offset : float , y_offset : float , z_offset : float , x_rot : float , y_rot : float , z_rot : float , bone_index : int , scale : float , x_axis : bool , y_axis : bool , z_axis : bool ) : int
function native . graphics . start_particle_fx_looped_on_entity ( effect_name : string , entity : int , x_offset : float , y_offset : float , z_offset : float , x_rot : float , y_rot : float , z_rot : float , scale : float , x_axis : bool , y_axis : bool , z_axis : bool ) : int
function native . graphics . start_particle_fx_looped_on_entity_bone ( effect_name : string , entity : int , x_offset : float , y_offset : float , z_offset : float , x_rot : float , y_rot : float , z_rot : float , bone_index : int , scale : float , x_axis : bool , y_axis : bool , z_axis : bool ) : int
function native . graphics . start_networked_particle_fx_looped_on_entity ( effect_name : string , entity : int , x_offset : float , y_offset : float , z_offset : float , x_rot : float , y_rot : float , z_rot : float , scale : float , x_axis : bool , y_axis : bool , z_axis : bool ) : int
function native . graphics . start_networked_particle_fx_looped_on_entity_bone ( effect_name : string , entity : int , x_offset : float , y_offset : float , z_offset : float , x_rot : float , y_rot : float , z_rot : float , bone_index : int , scale : float , x_axis : bool , y_axis : bool , z_axis : bool ) : int
function native . graphics . stop_particle_fx_looped ( ptfx_handle : int , p1 : bool ) : void
function native . graphics . does_particle_fx_looped_exist ( ptfx_handle : int ) : bool
function native . graphics . set_particle_fx_looped_offsets ( ptfx_handle : int , x : float , y : float , z : float , rot_x : float , rot_y : float , rot_z : float ) : void
function native . graphics . set_particle_fx_looped_evolution ( ptfx_handle : int , property_name : string , amount : float , no_network : bool ) : void
function native . graphics . set_particle_fx_looped_colour ( ptfx_handle : int , r : float , g : float , b : float , p4 : bool ) : void
function native . graphics . set_particle_fx_looped_alpha ( ptfx_handle : int , alpha : float ) : void
function native . graphics . set_particle_fx_looped_scale ( ptfx_handle : int , scale : float ) : void
function native . graphics . set_particle_fx_looped_far_clip_dist ( ptfx_handle : int , range : float ) : void
_SET_PARTICLE_FX_LOOPED_FA* - _SET_PARTICLE_FX_LOOPED_OF*
function native . graphics . _set_particle_fx_looped_update_distant_smoke ( ptfx_handle : int , scalar : float ) : void
function native . graphics . remove_particle_fx ( ptfx_handle : int , p1 : bool ) : void
function native . graphics . remove_particle_fx_from_entity ( entity : int ) : void
function native . graphics . remove_particle_fx_in_range ( x : float , y : float , z : float , radius : float ) : void
fxName: see data_0/data/effects/ptfx/fxlists/
function native . graphics . use_particle_fx_asset ( fx_name : string ) : void
function native . graphics . set_particle_fx_override ( old_asset : string , new_asset : string ) : void
Resets the effect of SET_PARTICLE_FX_OVERRIDE
function native . graphics . reset_particle_fx_override ( name : string ) : void
p1: AMB_ANN_COAL_CHUTE_DIVE, AMB_ANN_COAL_CHUTE
p2: EMIT
p3: either 0.0f or 1.0f
function native . graphics . _0x4fb67d172c4476f3 ( entity : int , p1 : string , p2 : string , p3 : float ) : void
Related to Campfires.
p1: AMB_BONFIRE_MP, AMB_CAMPFIRE_LRG_MP
function native . graphics . set_particle_fx_ambient_colour ( entity : int , p1 : string , r : float , g : float , b : float ) : void
Only used in R* Script nb_stalking_hunter
function native . graphics . _0xd1472aff30c103d6 ( p0 : float ) : void
function native . graphics . set_particle_fx_bullet_impact_scale ( scale : float ) : void
function native . graphics . set_particle_fx_bullet_impact_lodrange_scale ( p0 : float ) : void
function native . graphics . _set_sniper_glints_enabled ( enabled : bool ) : void
function native . graphics . set_particle_fx_foot_lodrange_scale ( p0 : float ) : void
function native . graphics . _0x4046493d2eeaca0e () : void
function native . graphics . set_pickup_light ( object : int , toggle : bool ) : void
function native . graphics . _block_pickup_object_light ( pickup_object : int , toggle : bool ) : void
function native . graphics . block_pickup_placement_light ( pickup : int , toggle : bool ) : void
function native . graphics . allow_pickup_light_sync ( pickup_object : int , allow : bool ) : void
Enables/disables a kind of 'shiny' effect on metals.
function native . graphics . _set_pearlescent_fx_enabled ( object : int , toggle : bool ) : void
Removes all decals in range from a position, it includes the bullet holes, blood pools, petrol...
function native . graphics . remove_decals_in_range ( x : float , y : float , z : float , range : float ) : void
function native . graphics . remove_decals_from_object ( obj : int ) : void
function native . graphics . add_decal ( p0 : int , p1 : int , p2 : int , p3 : int , p4 : int , p5 : int , p6 : int , p7 : int , p8 : int , p9 : int , p10 : int , p11 : int , p12 : int , p13 : int , p14 : int , p15 : int , p16 : int , p17 : int , p18 : int , p19 : int , p20 : int , p21 : int ) : int
function native . graphics . _add_blood_pool ( x : float , y : float , z : float , unused : bool ) : void
function native . graphics . _add_blood_pool_2 ( x : float , y : float , z : float , p3 : float , size : float , p5 : float , permanent : bool , p7 : float , p8 : bool ) : void
Creates blood pools for the given ped in some interval for a few seconds.
function native . graphics . _add_blood_pools_for_ped ( ped : int ) : void
function native . graphics . _add_blood_pools_for_ped_with_params ( ped : int , p1 : float , size : float , p3 : float ) : void
function native . graphics . start_petrol_trail_decals ( p0 : int , p1 : int ) : void
function native . graphics . add_petrol_trail_decal_info ( x : float , y : float , z : float , p3 : float ) : void
function native . graphics . end_petrol_trail_decals () : void
function native . graphics . _0xe63d68f455ca0b47 ( p0 : int , p1 : int , p2 : int , p3 : int , p4 : int , p5 : int , p6 : int ) : int
function native . graphics . remove_decal ( decal : int ) : void
function native . graphics . is_decal_alive ( decal : int ) : bool
function native . graphics . set_disable_petrol_decals_igniting_this_frame () : void
function native . graphics . _0xb032c085d9a03907 () : void
function native . graphics . _0xfb680a9b33d0edbe ( p0 : bool ) : void
Used in CREATE_BEZIER_BLOOD_TRAIL_OF_TYPE
function native . graphics . _0x41f88a85a579a61d ( p0 : float ) : void
function native . graphics . _blood_trail_for_waypoint ( waypoint_recording : string , p1 : float ) : void
function native . graphics . _add_blood_trail_point ( x : float , y : float , z : float ) : void
Used in CREATE_BEZIER_BLOOD_TRAIL_OF_TYPE
ENABLE *
function native . graphics . _0x812c1563185c6fb2 () : void
Used in CREATE_BEZIER_BLOOD_TRAIL_OF_TYPE
function native . graphics . _0x4bd66b4e3427689b ( p0 : string ) : void
function native . graphics . _add_blood_trail_splat ( x : float , y : float , z : float ) : void
function native . graphics . _0xf2f543d48f319a3a () : void
function native . graphics . _0x1460b644397453eb () : void
Only used in guama1 R* Script
Disables lod/distant lights when BOOL is set to true
function native . graphics . _disable_far_artificial_lights ( disable : bool ) : void
function native . graphics . _0x453d16d41fc51d3e ( p0 : bool ) : void
Used in NET_CAMP_SPIRIT_ANIMAL_CLEAR_ANIMAL_VISIBILITY
function native . graphics . _0xc06f2f45a73eabcd ( entity : int ) : void
function native . graphics . set_timecycle_modifier ( modifier_name : string ) : void
function native . graphics . set_timecycle_modifier_strength ( strength : float ) : void
function native . graphics . set_transition_timecycle_modifier ( modifier_name : string , transition_blend : float ) : void
function native . graphics . set_transition_out_of_timecycle_modifier ( strength : float ) : void
function native . graphics . clear_timecycle_modifier () : void
function native . graphics . get_timecycle_modifier_index () : int
function native . graphics . get_timecycle_transition_modifier_index () : int
function native . graphics . _0x67b0778c62e74423 ( p0 : int ) : void
function native . graphics . _0x6c03118e9e5c1a14 ( p0 : int ) : void
function native . graphics . _get_modified_visibility_distance () : float
Old name: _ENABLE_EXTRA_TIMECYCLE_MODIFIER_STRENGTH
function native . graphics . enable_moon_cycle_override ( strength : float ) : void
function native . graphics . set_tv_channel ( channel : int ) : void
function native . graphics . get_tv_channel () : int
function native . graphics . set_tv_volume ( volume : float ) : void
function native . graphics . draw_tv_channel ( x_pos : float , y_pos : float , x_scale : float , y_scale : float , rotation : float , red : int , green : int , blue : int , alpha : int ) : void
function native . graphics . set_tv_channel_playlist ( tv_channel : int , playlist_name : string , restart : bool ) : void
Old name: _IS_TV_PLAYLIST_ITEM_PLAYING
function native . graphics . is_tvshow_currently_playing ( video_cliphash : int ) : bool
function native . graphics . _0x5c674eb487891f6b () : int
nullsub, doesn't do anything
function native . graphics . enable_movie_subtitles ( toggle : bool ) : void
function native . graphics . _0x32de2bffda43e62a () : void
function native . graphics . _0xd543487a1f12828f ( p0 : int , p1 : int , p2 : int , p3 : int ) : void
function native . graphics . _0xd9bc98b55bcfaa9b ( p0 : int ) : void
function native . graphics . _0x48fe0db54045b975 ( p0 : int , p1 : int , p2 : int , p3 : int , p4 : int , p5 : int , p6 : int ) : void
function native . graphics . _0x735762e8d7573e42 ( p0 : int , p1 : int , p2 : int ) : void
function native . graphics . _0x981c7d863980fa51 () : void
function native . graphics . _animpostfx_preload_postfx ( effect_name : string ) : void
function native . graphics . _animpostfx_has_loaded ( effect_name : string ) : bool
function native . graphics . _animpostfx_set_to_unload ( effect_name : string ) : void
function native . graphics . animpostfx_play ( effect_name : string ) : void
function native . graphics . _animpostfx_play_timed ( effect_name : string , duration : int ) : void
function native . graphics . animpostfx_stop ( effect_name : string ) : void
effectName2, p2 and p3 are unused
ANIMPOSTFX_*
function native . graphics . _0x26dd2fb0a88cc412 ( effect_name : string , effect_name2 : string , p2 : int , p3 : int ) : void
function native . graphics . _animpostfx_clear_effect ( effect_name : string ) : void
function native . graphics . animpostfx_is_running ( effect_name : string ) : bool
function native . graphics . _animpostfx_is_tag_playing ( effect_name : string ) : bool
function native . graphics . animpostfx_stop_all () : void
function native . graphics . _animpostfx_stop_tag ( effect_name : string ) : void
must be called after ANIMPOSTFX_PLAY, strength 0.0f - 1.0f
function native . graphics . _animpostfx_set_strength ( effect_name : string , strength : float ) : void
Health Core Effect Filter Potency: p1 = 1
Stamina Core Effect Filter Potency: p1 = 2
Multiple Core Effect Filter Potency: p1 = 3
function native . graphics . _animpostfx_set_potency ( effect_name : string , p1 : int , potency : float ) : void
function native . graphics . _animpostfx_set_postfx_color ( effect_name : string , p1 : int , red : int , green : int , blue : int , alpha : int ) : void
function native . graphics . _0xb958d97a0dfaa0c2 ( effect_name : string ) : bool
function native . graphics . _0xa201a3d0ac087c37 ( effect_name : string ) : void
function native . graphics . _0xfbf161fcfec8589e ( effect_name : string , p1 : int , p2 : bool , p3 : ptr int ) : bool
Known effects: MP_Trans_SceneToPhoto
MP_Trans_WinLose
SpectateFilter
MP_CharacterCreatorPhoto
MP_Trans_PhotoToScene
InterrogationHit
function native . graphics . _animpostfx_get_stackhash ( effect_name : string ) : int
function native . graphics . _animpostfx_preload_postfx_by_stackhash ( effect_name_hash : int ) : void
function native . graphics . animpostfx_is_preloading_by_stackhash ( effect_name_hash : int ) : bool
function native . graphics . _0x38d9d50f2085e9b3 ( effect_name_hash : int ) : void
function native . graphics . _animpostfx_play_tag ( effect_name_hash : int ) : void
function native . graphics . _0xc76fc4c2fc5f4405 ( effect_name_hash : int ) : void
function native . graphics . _animpostfx_stop_stackhash_postfx ( effect_name_hash : int ) : void
function native . graphics . _animpostfx_is_stackhash_playing ( effect_name_hash : int ) : bool
function native . graphics . _0xe75cddebf618c8ff ( effect_name_hash : int ) : bool
function native . graphics . _0x71845905bccde781 ( effect_name_hash : int ) : void
function native . graphics . animpostfx_has_event_triggered_by_stackhash ( effect_name_hash : int , p1 : int , p2 : bool , p3 : ptr int ) : bool
Returns whether the 'killFX' setting is enabled.
ANIMPOSTFX_*
function native . graphics . _0xff584f097c17fa8f () : bool
function native . graphics . _0x3da7a10583a4bec0 () : bool
Doesn't actually return anything.
ANIMPOSTFX_*
function native . graphics . _0xc37792a3f9c90771 () : int
function native . graphics . _0xa0f4d12d6042f6d5 ( p0 : int , p1 : int ) : void
function native . graphics . _0x8996fa6ad9fe4e90 ( p0 : int ) : void
Only used in guama1 R* SP Script while spawning the ship
SET_ENTITY_QUATERNION * - SET_ENTITY_RENDER_*
function native . graphics . _set_entity_render_guarma_ship ( vehicle : int , toggle : bool ) : void
function native . graphics . pedshot_is_available () : bool
R* Script spd_agnesdow1: p0 = SPD_AGNES_DOWD_01
function native . graphics . _0xfd05b1dde83749fa ( p0 : string ) : bool
function native . graphics . _pedshot_finish_cleanup_data () : void
function native . graphics . _pedshot_previous_persona_photo_data_cleanup () : void
function native . graphics . _pedshot_init_cleanup_data () : void
function native . graphics . _pedshot_generate_persona_photo ( texture : string , ped : int , player_slot : int ) : bool
function native . graphics . _pedshot_set_persona_photo_type ( persona_photo_local_cache_type : int ) : void
function native . graphics . _0xa1a86055792fb249 ( persona_photo_local_cache_type : int ) : void
Only used in R* SP Script spd_agnesdown1
function native . graphics . _0x402e1a61d2587fcd ( p0 : int , x : float , y : float , z : float , p4 : float , p5 : float , heading : float ) : bool
Only used in R* SP Script spd_agnesdown1
function native . graphics . _0x5c9c3a466b3296a8 ( p0 : int ) : int
function native . graphics . _0xa15ccab8ad038291 ( p0 : int , p1 : int , p2 : int , p3 : int ) : int
function native . graphics . _0x285438c26c732f9d () : int
state: false disables artificial interior light sources for specific proxyInteriorIndex
function native . graphics . _set_proxy_interior_index_artificial_lights_state ( proxy_interior_index : int , state : bool ) : void
function native . graphics . _is_proxy_interior_index_artificial_lights_enabled ( proxy_interior_index : int ) : bool
Returns proxyInteriorIndex
function native . graphics . _get_proxy_interior_index ( interior_id : int ) : int
function native . graphics . _0x9d1b0b5066205692 () : void
function native . graphics . _0xc489fe31ac726512 ( p0 : int , p1 : int ) : void
function native . graphics . _set_cloud_layer ( x : float , y : float , p2 : int ) : void
function native . graphics . _set_cloud_noise ( x : float , y : float , z : float ) : void
Only used in finale2, smuggler2, winter4
_SET_CLOUD_A* - _SET_CLOUD_H*
function native . graphics . _set_cloud_position ( x : float , y : float , z : float ) : void
function native . graphics . _set_cloud_height ( height : float ) : void
function native . graphics . _0x085c5b61a0114f32 ( p0 : int , p1 : int ) : void
function native . graphics . _0x1ff8731be1dfc0c0 ( p0 : int , p1 : int ) : void
function native . graphics . _0xfc9b53c072f418e0 () : int
nullsub, doesn't do anything
function native . graphics . _0x94b261f1f35293e1 ( p0 : int ) : void
function native . graphics . enable_entitymask () : void
function native . graphics . disable_entitymask () : void
function native . graphics . _add_entity_to_entity_mask ( entity : int , mask : int ) : void
function native . graphics . _add_entity_to_entity_mask_with_intensity ( entity : int , mask : int , intensity : float ) : void
function native . graphics . _remove_entity_from_entity_mask ( entity : int ) : void
function native . graphics . _get_entity_mask_layers ( entity : int , layer0 : ptr int , layer1 : ptr int , layer2 : ptr int , layer3 : ptr int ) : bool
function native . graphics . _set_entity_mask_layers ( entity : int , layer0 : ptr int , layer1 : ptr int , layer2 : ptr int , layer3 : ptr int ) : void
Used for script function RPG_GLOBAL_STATS__PRIVATE__ACTIVATE_STAT_FLAG - Quite and Inspiration Aura equip
Params: 0f, 2f, 2f
function native . graphics . _set_entity_aura ( p0 : float , p1 : float , p2 : float ) : void
Used for script function RPG_GLOBAL_STATS__PRIVATE__DEACTIVATE_STAT_FLAG - Inspiration Aura unequip
function native . graphics . _reset_entity_aura () : void
enum class eSnowCoverageType
{
Primary,
Secondary,
Xmas,
XmasSecondary // since b1232
};
function native . graphics . _set_snow_coverage_type ( type : int ) : void
function native . graphics . _0x519928df02eb5101 ( p0 : int ) : void
function native . graphics . _0x1c6306e5bc25c29c () : void