law
Methods
_report_crime
crimeType: enum eCrimeType : Hash { CRIME_ACCOMPLICE = 0xAF074F6D, CRIME_ARSON = 0x68134DC7, CRIME_ASSAULT = 0x0BADC882, CRIME_ASSAULT_ANIMAL = 0x18DA55EE, CRIME_ASSAULT_CORPSE = 0x4E5F23F2, CRIME_ASSAULT_HORSE = 0xC4736181, CRIME_ASSAULT_LAW = 0xD7466D7C, CRIME_ASSAULT_LIVESTOCK = 0xCCE1CCBD, CRIME_BANK_ROBBERY = 0x6A1ADE3D, CRIME_BURGLARY = 0xA54C77E0, CRIME_CHEATING = 0xA2FF1145, CRIME_DISTURBANCE = 0x5011F613, CRIME_EXPLOSION = 0x3EBA7A37, CRIME_EXPLOSION_POISON = 0x91D0A0E1, CRIME_GRAVE_ROBBERY = 0x971EA5AF, CRIME_HASSLE = 0x58488776, CRIME_HIT_AND_RUN = 0xFF0A3CC4, CRIME_HIT_AND_RUN_LAW = 0x064814AF, CRIME_INTIMIDATION = 0x8319FBAB, CRIME_JACK_HORSE = 0x82F7E4A2, CRIME_JACK_VEHICLE = 0x6B981F4C, CRIME_JAIL_BREAK = 0x12C1D589, CRIME_KIDNAPPING = 0x98F908DB, CRIME_KIDNAPPING_LAW = 0xFD72A7EA, CRIME_LASSO_ASSAULT = 0x56EE5D5A, CRIME_LAW_IS_THREATENED = 0x1CB91DF0, CRIME_LOITERING = 0x6629D2F4, CRIME_LOOTING = 0x55AD2BEB, CRIME_MURDER = 0xE28ECE7E, CRIME_MURDER_ANIMAL = 0x48F59A66, CRIME_MURDER_HORSE = 0xC7261D79, CRIME_MURDER_LAW = 0x7797FCE7, CRIME_MURDER_LIVESTOCK = 0x9569C546, CRIME_MURDER_PLAYER = 0xF5ABD6C9, CRIME_MURDER_PLAYER_HORSE = 0xD55C6A79, CRIME_PROPERTY_DESTRUCTION = 0x533B003D, CRIME_RESIST_ARREST = 0xDF577BA5, CRIME_ROBBERY = 0xA3BEDE4C, CRIME_SELF_DEFENCE = 0xBD6A0AA3, CRIME_STAGECOACH_ROBBERY = 0xFC738E61, CRIME_STOLEN_GOODS = 0x9A949C79, CRIME_THEFT = 0x72ADE410, CRIME_THEFT_HORSE = 0xBE3A5838, CRIME_THEFT_LIVESTOCK = 0x85BA08FD, CRIME_THEFT_VEHICLE = 0x43A9ECA1, CRIME_THREATEN = 0x941C985A, CRIME_THREATEN_LAW = 0x7F908566, CRIME_TRAIN_ROBBERY = 0x647D2A5A, CRIME_TRAMPLE = 0x45DB39D8, CRIME_TRAMPLE_LAW = 0xF00F266B, CRIME_TRAMPLE_PLAYER = 0x75970C15, CRIME_TRESPASSING = 0xAEDE8E35, CRIME_UNARMED_ASSAULT = 0x5098CC5A, CRIME_VANDALISM = 0x80FDC759, CRIME_VANDALISM_VEHICLE = 0xF9E7ECE4, CRIME_VEHICLE_DESTRUCTION = 0x54A85DDC, CRIME_WANTED_LEVEL_UP_DEBUG_HIGH = 0x99C52FF5, CRIME_WANTED_LEVEL_UP_DEBUG_LOW = 0xD891890F };
suppress_crime_this_frame
crimeType: see _REPORT_CRIME
num_crimes_suppressed
Returns amount of suppressed crimes to be used later in the function MPINTRO_CRIME_MONITOR_MAINTAIN
_0xffebe5aa96bc2e4e
_0x15abd5004cad2d99
Params: p0 either 0, 1 or -1 in R* Scripts Set to 0 called together with _SUPPRESS_CRIME
_0xf611de44aeb36a1d
_0x3d2674828a4e6b3c
_0xc5eb2755fa25f1e9
get_bounty
add_bounty
set_bounty
clear_bounty
get_wanted_score
set_wanted_score
clear_wanted_score
_0x331d349e0380b097
_0x292ad61a33a7a485
Only used in R* Script fm_mission_controller CLEAR_WANTED*
_0x07e8b8b20570271c
Used in SP only, called together with 0x55F37F5F3F2475E1 & CLEAR_WANTED_SCORE REPORT*
_0x22741652985c84d0
Used in SP only REPORT*
_report_player_law_dispatch_response_override
_0x9ef07cfbb19a9733
Only used in shoprobberies R* Scripts
_set_law_disabled
_force_law_on_local_player_immediately
_set_law_region
enum eLawRegion : Hash { LAW_DISPATCH_REGION_NONE = 0, LAW_REGION_AGUASDULCES = 0x2F573EBE, LAW_REGION_ANNESBURG = 0x68CAFD50, LAW_REGION_ARMADILLO = 0xF0B90756, LAW_REGION_BAYOU_NWA = 0x80966B1C, LAW_REGION_BEECHERS_HOPE = 0xE2544977, LAW_REGION_BIG_VALLEY = 0x3DF1559A, LAW_REGION_BLACKWATER = 0x60D4886D, LAW_REGION_BLACKWATER_MAINGAME = 0x66553576, LAW_REGION_BLUEGILL_MARSH = 0x1D6AED8E, LAW_REGION_BRAITHWAITE_MANOR = 0x3D71E7FF, LAW_REGION_BUTCHER_CREEK = 0x2B3E1822, LAW_REGION_CALIGA_HALL = 0xF3FE5080, LAW_REGION_CORNWALL = 0xCC4672FA, LAW_REGION_CUMBERLAND_FOREST = 0x81A78306, LAW_REGION_EMERALD_RANCH = 0x5C069DF3, LAW_REGION_FORT_WALLACE = 0x0AF25192, LAW_REGION_GREAT_PLAINS = 0xB20573FA, LAW_REGION_GREAT_PLAINS_MAINGAME = 0x9862FF7C, LAW_REGION_GRIZZLIES = 0xBB936031, LAW_REGION_GUAMA = 0x200DFF42, LAW_REGION_HEARTLANDS = 0xAD14DA65, LAW_REGION_LAGRAS = 0xC64808D3, LAW_REGION_MACFARLANES_RANCH = 0x396A7D5F, LAW_REGION_MANICATO = 0x039DB6BF, LAW_REGION_MANZANITA_POST = 0x895E580E, LAW_REGION_MANZANITA_POST_MAINGAME = 0x9BDD6A38, LAW_REGION_OCCUPIED_CARAVAN_CAMP = 0x7EBABB01, LAW_REGION_OLD_MAP_WILDERNESS = 0xCBB45950, LAW_REGION_OLD_MAP_WILDERNESS_MAINGAME = 0x9F839BE7, LAW_REGION_OUTLAW3 = 0x97A02FC1, LAW_REGION_PRONGHORN_RANCH = 0x398E4BFC, LAW_REGION_RHODES = 0x89222928, LAW_REGION_RHODES_LOCKDOWN = 0xB1181671, LAW_REGION_RIDGEWOOD_FARM = 0x635C3028, LAW_REGION_ROANOKE_RIDGE = 0x46386A9A, LAW_REGION_SAINT_DENIS = 0x5CF7C268, LAW_REGION_SAINT_DENIS_RURAL = 0x4FD5331A, LAW_REGION_SCARLETT_MEADOWS = 0x5FDD9717, LAW_REGION_SISIKA = 0x2B6BBA52, LAW_REGION_STRAWBERRY = 0xDD932620, LAW_REGION_TALL_TREES = 0xD939B758, LAW_REGION_TALL_TREES_MAINGAME = 0x084B17DF, LAW_REGION_THIEVES_LANDING = 0x3D0C2EB6, LAW_REGION_THIEVES_LANDING_MAINGAME = 0x61C450F3, LAW_REGION_TUMBLEWEED = 0x0EFAF8DC, LAW_REGION_VALENTINE = 0xA7A3F0C3, LAW_REGION_VALENTINE_LOCKDOWN = 0x123582FE, LAW_REGION_VAN_HORN = 0x619B528E, LAW_REGION_WAPITI = 0x7A976E02 };
_0x5e6f375ca101c108
Only used in R* SP Scripts
_set_law_rbs_volume
is_law_incident_active
_0x148e7ac8141c9e64
_0xedfc6c1fd1c964f5
_SET_C* - _SET_D*
_law_witness_response_task
_0x018f30d762e62df8
_0x318f0f9a4426cfa2
Only used in R* SP Script av_amb_camp_robbery
_0x95878b13e272ef1f
_add_witness_response
_0xd7494ded50c6ef52
Only used in R* SP Scripts Params: p2 either 1 or 2
are_witnesses_active
_are_witnesses_pending
_are_investigators_active
_0x522f74636df10201
_0xda1a9adc4e3d4b16
Only used in R* SP Scripts Params: p1 = true, p2 = false
_enable_dispatch_law
_enable_dispatch_law_2
_are_any_law_peds_investigating
Only used in rcm_homerob00 R* Script
_are_law_peds_enabled_for_train
Only used in trainrobbery_ambient R* Script
_0x82f11e1296996574
Only used in rcm_gunslinger1_1 R* Script: p0 = 0
_0x3852237a3d9df145
_0x0eaf918f751f27ba
_0xc0df161950fb101e
Only used in rcm_serial_killer1 R* Script
_0xe4d6e45f491a66cb
_0xe9eb79cbf9c0f58a
Returns p1 value for 0xE4D6E45F491A66CB
_0x21213b833ef4dae7
_0x61b98367d93f012f
_0x6abc50979655bee7
_0x390710d2dafa6bff
_CLEAR*
_get_crime_bounty_amount_by_type
Returns bounty (increment) value
_0xdaefdfdb2aeece37
crimeType: see _REPORT_CRIME
_get_hud_player_crime_type
See _REPORT_CRIME
_0xe083beda81709891
_0x89e005b1662f6e48
_0x3738b784ddd35cc6
_0x0bdfebcf40a5f7e3
Only used in net_fetch R* Script
_set_custom_law_dispatch_response
Note: This native is only used in multiplayer scripts dispatchResponseHash: see update1/common/data/dispatchresponses/..
_create_law_dispatch_response_for_coords
dispatchResponseHash: see common/data/dispatchresponses/..
_set_bounty_hunter_pursuit_cleared
Force clears local player's wanted level
_0xbd944a3d36e992de
Called together with REPORT_POLICE_SPOTTED_PLAYER
_0x987be590fb9d41e5
_0xdcf12b89624aac96
_0xddce8e960d1de240
_0xdea083c16bb91345
_0x9c8a2bf37e966464
Only used in act_bankrobbery01 R* Script
_0x9d5c9a5a3321b128
_0x0f230de0ddbe3649
_0x9945a3e2528a02e8
_get_time_since_last_seen_by_law
Returns the amount of time (probably in game minutes) since last seen by the law / left the wanted radius
_0x9b4c564bfa7cff37
_set_allow_disabled_law_responses
reset_wanted_for_new_incident
_0x856ce8fde2416602
_0x7351da734f989f4e
Only used in shoprobberies
_get_bounty_hunter_global_cooldown
p0 is always BOUNTYHUNTERSGLOBALCOOLDOWN in R* scripts
_set_bounty_hunter_global_cooldown
p0 is always BOUNTYHUNTERSGLOBALCOOLDOWN in R* scripts
_0x2001687f9562fd9d
Only used in resapwn_dump_body R* Script
_pause_bounty_hunter_cooldown
p0 is always BOUNTYHUNTERSGLOBALCOOLDOWN in R* scripts
_0xe9ac8466abe484bb
Only used in R* SP Scripts Params: p1 = 0
_0x40851bcc33acd9ab
_0xf46108c50a22b029
_0x7803436e68c32b26
_0xc310239acccf5579
_0x29cd4896ecb66c12
_0xe94b5e938619712e
Seems to disable lawmen guarding behaviors (like during a region lockdown). Must be called every frame. Only used in R* SP Scripts, mostly used in train_fast_travel_core
_0x7fc667f6ddfbcdcc
Only used in R* Script long_update Returns a value thats being subtracted from GET_GAME_TIMER
_0x9c5bd8c562565ce6
_0xcbfb4951f2e3934c
_set_ped_law_behaviour
_0x00db0bc05e3faa4e
_0x0c392db374655176
_0xc687a23e166dcf68
_set_dispatch_multiplier_override
_0x26934083d3f2579c
get_player_registered_crime
_0xb527099d1e1eed49
clear_player_past_crimes
set_player_arrested_in_region
set_player_turned_in_bounty_in_region
_0xd6c0a8c7c0b2f82c
set_law_sense_range_modifier
Default range is 1.0f
_0x7ef2a2fe38d74456
SET_DISPATCH*
_0xc7dc5a0a7df608cb
GET_DISPATCH*
set_disable_disturbance_crimes
set_postpone_disturbance_crimes_during_combat
_create_guard_zone
_remove_guard_zone
_0x9772395cc73e8d1f
Only used in loanshark_miner1 R* Script: name = ANNESBURG_MINES
_disable_guard_zone
_0x0dbaca9c38c9a686
Only used in sisikapenitentiary R* Script: name = SISIKA _IS_G* or _IS_H*
_is_guard_ped_investigating
_create_guard_zone_for_entity
Returns true when investigation creation was successful