From ce48bf5a6d2d3e0790efad510b330eaecf11b44d Mon Sep 17 00:00:00 2001 From: yasmasdas <114929405+yasmasdas@users.noreply.github.com> Date: Mon, 10 Oct 2022 16:42:04 +0200 Subject: [PATCH 01/29] A lot of desc and param name changes --- natives.json | 421 ++++++++++++++++++++++++++------------------------- 1 file changed, 212 insertions(+), 209 deletions(-) diff --git a/natives.json b/natives.json index f6c3932..e559d20 100755 --- a/natives.json +++ b/natives.json @@ -711,7 +711,7 @@ "0xC5EF963405593646": { "name": "ADD_LINE_TO_CONVERSATION", "jhash": "0x96CD0513", - "comment": "NOTE: ones that are -1, 0 - 35 are determined by a function where it gets a TextLabel from a global then runs,\n_GET_TEXT_SUBSTRING and depending on what the result is it goes in check order of 0 - 9 then A - Z then z (lowercase). So it will then return 0 - 35 or -1 if it's 'z'. The func to handle that ^^ is func_67 in dialog_handler.c atleast in TU27 Xbox360 scripts.\n\np0 is -1, 0 - 35\np1 is a char or string (whatever you wanna call it)\np2 is Global 10597 + i * 6. 'i' is a while(i < 70) loop\np3 is again -1, 0 - 35 \np4 is again -1, 0 - 35 \np5 is either 0 or 1 (bool ?)\np6 is either 0 or 1 (The func to determine this is bool)\np7 is either 0 or 1 (The func to determine this is bool)\np8 is either 0 or 1 (The func to determine this is bool)\np9 is 0 - 3 (Determined by func_60 in dialogue_handler.c)\np10 is either 0 or 1 (The func to determine this is bool)\np11 is either 0 or 1 (The func to determine this is bool)\np12 is unknown as in TU27 X360 scripts it only goes to p11.", + "comment": "NOTE: ones that are -1, 0 - 35 are determined by a function where it gets a TextLabel from a global then runs,\nGET_CHARACTER_FROM_AUDIO_CONVERSATION_FILENAME and depending on what the result is it goes in check order of 0 - 9 then A - Z then z (lowercase). So it will then return 0 - 35 or -1 if it's 'z'. The func to handle that ^^ is func_67 in dialog_handler.c atleast in TU27 Xbox360 scripts.\n\np0 is -1, 0 - 35\np1 is a char or string (whatever you wanna call it)\np2 is Global 10597 + i * 6. 'i' is a while(i < 70) loop\np3 is again -1, 0 - 35 \np4 is again -1, 0 - 35 \np5 is either 0 or 1 (bool ?)\np6 is either 0 or 1 (The func to determine this is bool)\np7 is either 0 or 1 (The func to determine this is bool)\np8 is either 0 or 1 (The func to determine this is bool)\np9 is 0 - 3 (Determined by func_60 in dialogue_handler.c)\np10 is either 0 or 1 (The func to determine this is bool)\np11 is either 0 or 1 (The func to determine this is bool)\np12 is unknown as in TU27 X360 scripts it only goes to p11.", "params": [ { "type": "int", @@ -2024,7 +2024,7 @@ "0x7CDC8C3B89F661B3": { "name": "SET_PED_VOICE_GROUP", "jhash": "", - "comment": "From the scripts:\n\nAUDIO::_SET_PED_VOICE_GROUP(PLAYER::PLAYER_PED_ID(), MISC::GET_HASH_KEY(\"PAIGE_PVG\"));\nAUDIO::_SET_PED_VOICE_GROUP(PLAYER::PLAYER_PED_ID(), MISC::GET_HASH_KEY(\"TALINA_PVG\"));\nAUDIO::_SET_PED_VOICE_GROUP(PLAYER::PLAYER_PED_ID(), MISC::GET_HASH_KEY(\"FEMALE_LOST_BLACK_PVG\"));\nAUDIO::_SET_PED_VOICE_GROUP(PLAYER::PLAYER_PED_ID(), MISC::GET_HASH_KEY(\"FEMALE_LOST_WHITE_PVG\"));", + "comment": "From the scripts:\n\nAUDIO::SET_PED_VOICE_GROUP(PLAYER::PLAYER_PED_ID(), MISC::GET_HASH_KEY(\"PAIGE_PVG\"));\nAUDIO::SET_PED_VOICE_GROUP(PLAYER::PLAYER_PED_ID(), MISC::GET_HASH_KEY(\"TALINA_PVG\"));\nAUDIO::SET_PED_VOICE_GROUP(PLAYER::PLAYER_PED_ID(), MISC::GET_HASH_KEY(\"FEMALE_LOST_BLACK_PVG\"));\nAUDIO::SET_PED_VOICE_GROUP(PLAYER::PLAYER_PED_ID(), MISC::GET_HASH_KEY(\"FEMALE_LOST_WHITE_PVG\"));", "params": [ { "type": "Ped", @@ -2302,7 +2302,7 @@ "0xB28ECA15046CA8B9": { "name": "GET_RADIO_STATION_NAME", "jhash": "0x3DF493BC", - "comment": "Converts radio station index to string. Use HUD::_GET_LABEL_TEXT to get the user-readable text.", + "comment": "Converts radio station index to string. Use HUD::GET_FILENAME_FOR_AUDIO_CONVERSATION to get the user-readable text.", "params": [ { "type": "int", @@ -7857,7 +7857,7 @@ "0xDF2E1F7742402E81": { "name": "SET_THIRD_PERSON_CAM_ORBIT_DISTANCE_LIMITS_THIS_UPDATE", "jhash": "0x77340650", - "comment": "Seems to animate the gameplay camera zoom.\n\nEg. SET_THIRD_PERSON_CAM_ORBIT_DISTANCE_LIMITS_THIS_UPDATE(1f, 1000f);\nwill animate the camera zooming in from 1000 meters away.\n\nGame scripts use it like this:\n\n// Setting this to 1 prevents V key from changing zoom\nPLAYER::SET_PLAYER_FORCED_ZOOM(PLAYER::PLAYER_ID(), 1);\n\n// These restrict how far you can move cam up/down left/right\nCAM::SET_THIRD_PERSON_CAM_RELATIVE_HEADING_LIMITS_THIS_UPDATE(-20f, 50f);\nCAM::_CLAMP_GAMEPLAY_CAM_PITCH(-60f, 0f);\n\nCAM::_ANIMATE_GAMEPLAY_CAM_ZOOM(1f, 1f);", + "comment": "Seems to animate the gameplay camera zoom.\n\nEg. SET_THIRD_PERSON_CAM_ORBIT_DISTANCE_LIMITS_THIS_UPDATE(1f, 1000f);\nwill animate the camera zooming in from 1000 meters away.\n\nGame scripts use it like this:\n\n// Setting this to 1 prevents V key from changing zoom\nPLAYER::SET_PLAYER_FORCED_ZOOM(PLAYER::PLAYER_ID(), 1);\n\n// These restrict how far you can move cam up/down left/right\nCAM::SET_THIRD_PERSON_CAM_RELATIVE_HEADING_LIMITS_THIS_UPDATE(-20f, 50f);\nCAM::SET_THIRD_PERSON_CAM_RELATIVE_PITCH_LIMITS_THIS_UPDATE(-60f, 0f);\n\nCAM::SET_THIRD_PERSON_CAM_ORBIT_DISTANCE_LIMITS_THIS_UPDATE(1f, 1f);", "params": [ { "type": "float", @@ -13790,38 +13790,38 @@ "0xB9C54555ED30FBC4": { "name": "PLAY_SYNCHRONIZED_MAP_ENTITY_ANIM", "jhash": "0xEB4CBA74", - "comment": "Full list of animation dictionaries and anims by DurtyFree: https://github.com/DurtyFree/gta-v-data-dumps/blob/master/animDictsCompact.json", + "comment": "p6,p7 probably animname and animdict\n\nFull list of animation dictionaries and anims by DurtyFree: https://github.com/DurtyFree/gta-v-data-dumps/blob/master/animDictsCompact.json", "params": [ { "type": "float", - "name": "p0" + "name": "x1" }, { "type": "float", - "name": "p1" + "name": "y1" }, { "type": "float", - "name": "p2" + "name": "z1" }, { "type": "float", - "name": "p3" + "name": "x2" }, { "type": "Any", - "name": "p4" + "name": "y2" }, { - "type": "Any", - "name": "p5" + "type": "float", + "name": "z2" }, { - "type": "Any*", + "type": "const char*", "name": "p6" }, { - "type": "Any*", + "type": "const char*", "name": "p7" }, { @@ -13851,27 +13851,27 @@ "params": [ { "type": "float", - "name": "p0" + "name": "x1" }, { "type": "float", - "name": "p1" + "name": "y1" }, { "type": "float", - "name": "p2" + "name": "z1" }, { "type": "float", - "name": "p3" + "name": "x2" }, { "type": "Any", - "name": "p4" + "name": "y2" }, { "type": "float", - "name": "p5" + "name": "z2" } ], "return_type": "BOOL", @@ -14152,12 +14152,12 @@ "comment": "", "params": [ { - "type": "Any", - "name": "p0" + "type": "Entity", + "name": "entity" }, { - "type": "Any", - "name": "p1" + "type": "BOOL", + "name": "toggle" } ], "return_type": "void", @@ -14565,7 +14565,7 @@ "0xFAEE099C6F890BB8": { "name": "SET_ENTITY_PROOFS", "jhash": "0x7E9EAB66", - "comment": "Enable / disable each type of damage.\n\nCan't get drownProof to work.\n--------------\np7 is to to '1' in am_mp_property_ext/int: entity::set_entity_proofs(uParam0->f_19, true, true, true, true, true, true, 1, true);\n", + "comment": "Enable / disable each type of damage.\n\nwaterProof is damage related to water not drowning\n--------------\np7 is to to '1' in am_mp_property_ext/int: ENTITY::SET_ENTITY_PROOFS(uParam0->f_19, true, true, true, true, true, true, 1, true);\n", "params": [ { "type": "Entity", @@ -14593,7 +14593,7 @@ }, { "type": "BOOL", - "name": "p6" + "name": "steamProof" }, { "type": "BOOL", @@ -14601,7 +14601,7 @@ }, { "type": "BOOL", - "name": "drownProof" + "name": "waterProof" } ], "return_type": "void", @@ -16524,7 +16524,7 @@ "0x79923CD21BECE14E": { "name": "GET_DLC_WEAPON_DATA", "jhash": "0xD88EC8EA", - "comment": "\ndlcWeaponIndex takes a number from 0 - GET_NUM_DLC_WEAPONS() - 1.\nstruct DlcWeaponData\n{\nint emptyCheck; //use DLC1::_IS_DLC_DATA_EMPTY on this\nint padding1;\nint weaponHash;\nint padding2;\nint unk;\nint padding3;\nint weaponCost;\nint padding4;\nint ammoCost;\nint padding5;\nint ammoType;\nint padding6;\nint defaultClipSize;\nint padding7;\nchar nameLabel[64];\nchar descLabel[64];\nchar desc2Label[64]; // usually \"the\" + name\nchar upperCaseNameLabel[64];\n};", + "comment": "\ndlcWeaponIndex takes a number from 0 - GET_NUM_DLC_WEAPONS() - 1.\nstruct DlcWeaponData\n{\nint emptyCheck; //use DLC1::IS_CONTENT_ITEM_LOCKED on this\nint padding1;\nint weaponHash;\nint padding2;\nint unk;\nint padding3;\nint weaponCost;\nint padding4;\nint ammoCost;\nint padding5;\nint ammoType;\nint padding6;\nint defaultClipSize;\nint padding7;\nchar nameLabel[64];\nchar descLabel[64];\nchar desc2Label[64]; // usually \"the\" + name\nchar upperCaseNameLabel[64];\n};", "params": [ { "type": "int", @@ -16678,7 +16678,7 @@ "0x6BEDF5769AC2DC07": { "name": "EXECUTE_CONTENT_CHANGESET_GROUP_FOR_ALL", "jhash": "", - "comment": "From fm_deathmatch_creator and fm_race_creator:\n\nFILES::_UNLOAD_CONTENT_CHANGE_SET_GROUP(joaat(\"GROUP_MAP_SP\"));\nFILES::_LOAD_CONTENT_CHANGE_SET_GROUP(joaat(\"GROUP_MAP\"));", + "comment": "From fm_deathmatch_creator and fm_race_creator:\n\nFILES::REVERT_CONTENT_CHANGESET_GROUP_FOR_ALL(joaat(\"GROUP_MAP_SP\"));\nFILES::EXECUTE_CONTENT_CHANGESET_GROUP_FOR_ALL(joaat(\"GROUP_MAP\"));", "params": [ { "type": "Hash", @@ -16694,7 +16694,7 @@ "0x3C1978285B036B25": { "name": "REVERT_CONTENT_CHANGESET_GROUP_FOR_ALL", "jhash": "", - "comment": "From fm_deathmatch_creator and fm_race_creator:\n\nFILES::_UNLOAD_CONTENT_CHANGE_SET_GROUP(joaat(\"GROUP_MAP_SP\"));\nFILES::_LOAD_CONTENT_CHANGE_SET_GROUP(joaat(\"GROUP_MAP\"));", + "comment": "From fm_deathmatch_creator and fm_race_creator:\n\nFILES::REVERT_CONTENT_CHANGESET_GROUP_FOR_ALL(joaat(\"GROUP_MAP_SP\"));\nFILES::EXECUTE_CONTENT_CHANGESET_GROUP_FOR_ALL(joaat(\"GROUP_MAP\"));", "params": [ { "type": "Hash", @@ -18964,7 +18964,7 @@ }, { "type": "float", - "name": "p0" + "name": "scale" } ], "return_type": "void", @@ -21878,7 +21878,7 @@ "0x0D53A3B8DA0809D2": { "name": "START_PARTICLE_FX_NON_LOOPED_ON_ENTITY", "jhash": "0x9604DAD4", - "comment": "Starts a particle effect on an entity for example your player.\n\nFull list of particle effect dictionaries and effects by DurtyFree: https://github.com/DurtyFree/gta-v-data-dumps/blob/master/particleEffectsCompact.json\n\nExample:\nC#:\nFunction.Call(Hash.REQUEST_NAMED_PTFX_ASSET, \"scr_rcbarry2\"); Function.Call(Hash._SET_PTFX_ASSET_NEXT_CALL, \"scr_rcbarry2\"); Function.Call(Hash.START_PARTICLE_FX_NON_LOOPED_ON_ENTITY, \"scr_clown_appears\", Game.Player.Character, 0.0, 0.0, -0.5, 0.0, 0.0, 0.0, 1.0, false, false, false);\n\nInternally this calls the same function as GRAPHICS::START_PARTICLE_FX_NON_LOOPED_ON_PED_BONE\nhowever it uses -1 for the specified bone index, so it should be possible to start a non looped fx on an entity bone using that native\n\n-can confirm START_PARTICLE_FX_NON_LOOPED_ON_PED_BONE does NOT work on vehicle bones.", + "comment": "Starts a particle effect on an entity for example your player.\n\nFull list of particle effect dictionaries and effects by DurtyFree: https://github.com/DurtyFree/gta-v-data-dumps/blob/master/particleEffectsCompact.json\n\nExample:\nC#:\nFunction.Call(Hash.REQUEST_NAMED_PTFX_ASSET, \"scr_rcbarry2\"); Function.Call(Hash.USE_PARTICLE_FX_ASSET, \"scr_rcbarry2\"); Function.Call(Hash.START_PARTICLE_FX_NON_LOOPED_ON_ENTITY, \"scr_clown_appears\", Game.Player.Character, 0.0, 0.0, -0.5, 0.0, 0.0, 0.0, 1.0, false, false, false);\n\nInternally this calls the same function as GRAPHICS::START_PARTICLE_FX_NON_LOOPED_ON_PED_BONE\nhowever it uses -1 for the specified bone index, so it should be possible to start a non looped fx on an entity bone using that native\n\n-can confirm START_PARTICLE_FX_NON_LOOPED_ON_PED_BONE does NOT work on vehicle bones.", "params": [ { "type": "const char*", @@ -23021,7 +23021,7 @@ "0x6C38AF3693A69A91": { "name": "USE_PARTICLE_FX_ASSET", "jhash": "0x9C720B61", - "comment": "From the b678d decompiled scripts:\n\n GRAPHICS::_SET_PTFX_ASSET_NEXT_CALL(\"FM_Mission_Controler\");\n GRAPHICS::_SET_PTFX_ASSET_NEXT_CALL(\"scr_apartment_mp\");\n GRAPHICS::_SET_PTFX_ASSET_NEXT_CALL(\"scr_indep_fireworks\");\n GRAPHICS::_SET_PTFX_ASSET_NEXT_CALL(\"scr_mp_cig_plane\");\n GRAPHICS::_SET_PTFX_ASSET_NEXT_CALL(\"scr_mp_creator\");\n GRAPHICS::_SET_PTFX_ASSET_NEXT_CALL(\"scr_ornate_heist\");\n GRAPHICS::_SET_PTFX_ASSET_NEXT_CALL(\"scr_prison_break_heist_station\");\n\nFull list of particle effect dictionaries and effects by DurtyFree: https://github.com/DurtyFree/gta-v-data-dumps/blob/master/particleEffectsCompact.json", + "comment": "From the b678d decompiled scripts:\n\n GRAPHICS::USE_PARTICLE_FX_ASSET(\"FM_Mission_Controler\");\n GRAPHICS::USE_PARTICLE_FX_ASSET(\"scr_apartment_mp\");\n GRAPHICS::USE_PARTICLE_FX_ASSET(\"scr_indep_fireworks\");\n GRAPHICS::USE_PARTICLE_FX_ASSET(\"scr_mp_cig_plane\");\n GRAPHICS::USE_PARTICLE_FX_ASSET(\"scr_mp_creator\");\n GRAPHICS::USE_PARTICLE_FX_ASSET(\"scr_ornate_heist\");\n GRAPHICS::USE_PARTICLE_FX_ASSET(\"scr_prison_break_heist_station\");\n\nFull list of particle effect dictionaries and effects by DurtyFree: https://github.com/DurtyFree/gta-v-data-dumps/blob/master/particleEffectsCompact.json", "params": [ { "type": "const char*", @@ -24712,7 +24712,7 @@ "0xEF662D8D57E290B1": { "name": "CALL_SCALEFORM_MOVIE_METHOD_WITH_NUMBER_AND_STRING", "jhash": "0x6EAF56DE", - "comment": "Calls the Scaleform function and passes both float and string parameters (in their respective order).\n\nThe number of parameters passed to the function varies, so the end of the float parameters is represented by -1.0, and the end of the string parameters is represented by 0 (NULL).\n\nNOTE: The order of parameters in the function prototype is important! All float parameters must come first, followed by the string parameters.\n\nExamples:\n// function MY_FUNCTION(floatParam1, floatParam2, stringParam)\nGRAPHICS::_CALL_SCALEFORM_MOVIE_FUNCTION_MIXED_PARAMS(scaleform, \"MY_FUNCTION\", 10.0, 20.0, -1.0, -1.0, -1.0, \"String param\", 0, 0, 0, 0);\n\n// function MY_FUNCTION_2(floatParam, stringParam1, stringParam2)\nGRAPHICS::_CALL_SCALEFORM_MOVIE_FUNCTION_MIXED_PARAMS(scaleform, \"MY_FUNCTION_2\", 10.0, -1.0, -1.0, -1.0, -1.0, \"String param #1\", \"String param #2\", 0, 0, 0);", + "comment": "Calls the Scaleform function and passes both float and string parameters (in their respective order).\n\nThe number of parameters passed to the function varies, so the end of the float parameters is represented by -1.0, and the end of the string parameters is represented by 0 (NULL).\n\nNOTE: The order of parameters in the function prototype is important! All float parameters must come first, followed by the string parameters.\n\nExamples:\n// function MY_FUNCTION(floatParam1, floatParam2, stringParam)\nGRAPHICS::CALL_SCALEFORM_MOVIE_METHOD_WITH_NUMBER_AND_STRING(scaleform, \"MY_FUNCTION\", 10.0, 20.0, -1.0, -1.0, -1.0, \"String param\", 0, 0, 0, 0);\n\n// function MY_FUNCTION_2(floatParam, stringParam1, stringParam2)\nGRAPHICS::CALL_SCALEFORM_MOVIE_METHOD_WITH_NUMBER_AND_STRING(scaleform, \"MY_FUNCTION_2\", 10.0, -1.0, -1.0, -1.0, -1.0, \"String param #1\", \"String param #2\", 0, 0, 0);", "params": [ { "type": "int", @@ -27446,7 +27446,7 @@ "0x169BD9382084C8C0": { "name": "GET_CHARACTER_FROM_AUDIO_CONVERSATION_FILENAME", "jhash": "0x34A396EE", - "comment": "Returns a substring of a specified length starting at a specified position.\n\nExample:\n// Get \"STRING\" text from \"MY_STRING\"\nsubStr = HUD::_GET_TEXT_SUBSTRING(\"MY_STRING\", 3, 6);", + "comment": "Returns a substring of a specified length starting at a specified position.\n\nExample:\n// Get \"STRING\" text from \"MY_STRING\"\nsubStr = HUD::GET_CHARACTER_FROM_AUDIO_CONVERSATION_FILENAME(\"MY_STRING\", 3, 6);", "params": [ { "type": "const char*", @@ -27470,7 +27470,7 @@ "0xB2798643312205C5": { "name": "GET_CHARACTER_FROM_AUDIO_CONVERSATION_FILENAME_WITH_BYTE_LIMIT", "jhash": "0x0183A66C", - "comment": "Returns a substring of a specified length starting at a specified position. The result is guaranteed not to exceed the specified max length.\n\nNOTE: The 'maxLength' parameter might actually be the size of the buffer that is returned. More research is needed. -CL69\n\nExample:\n// Condensed example of how Rockstar uses this function\nstrLen = HUD::GET_LENGTH_OF_LITERAL_STRING(MISC::GET_ONSCREEN_KEYBOARD_RESULT());\nsubStr = HUD::_GET_TEXT_SUBSTRING_SAFE(MISC::GET_ONSCREEN_KEYBOARD_RESULT(), 0, strLen, 63);\n\n--\n\n\"fm_race_creator.ysc\", line 85115:\n// parameters modified for clarity\nBOOL sub_8e5aa(char *text, int length) {\n for (i = 0; i <= (length - 2); i += 1) {\n if (!MISC::ARE_STRINGS_EQUAL(HUD::_GET_TEXT_SUBSTRING_SAFE(text, i, i + 1, 1), \" \")) {\n return FALSE;\n }\n }\n return TRUE;\n}", + "comment": "Returns a substring of a specified length starting at a specified position. The result is guaranteed not to exceed the specified max length.\n\nNOTE: The 'maxLength' parameter might actually be the size of the buffer that is returned. More research is needed. -CL69\n\nExample:\n// Condensed example of how Rockstar uses this function\nstrLen = HUD::GET_LENGTH_OF_LITERAL_STRING(MISC::GET_ONSCREEN_KEYBOARD_RESULT());\nsubStr = HUD::GET_CHARACTER_FROM_AUDIO_CONVERSATION_FILENAME_WITH_BYTE_LIMIT(MISC::GET_ONSCREEN_KEYBOARD_RESULT(), 0, strLen, 63);\n\n--\n\n\"fm_race_creator.ysc\", line 85115:\n// parameters modified for clarity\nBOOL sub_8e5aa(char *text, int length) {\n for (i = 0; i <= (length - 2); i += 1) {\n if (!MISC::ARE_STRINGS_EQUAL(HUD::GET_CHARACTER_FROM_AUDIO_CONVERSATION_FILENAME_WITH_BYTE_LIMIT(text, i, i + 1, 1), \" \")) {\n return FALSE;\n }\n }\n return TRUE;\n}", "params": [ { "type": "const char*", @@ -27498,7 +27498,7 @@ "0xCE94AEBA5D82908A": { "name": "GET_CHARACTER_FROM_AUDIO_CONVERSATION_FILENAME_BYTES", "jhash": "0xFA6373BB", - "comment": "Returns a substring that is between two specified positions. The length of the string will be calculated using (endPosition - startPosition).\n\nExample:\n// Get \"STRING\" text from \"MY_STRING\"\nsubStr = HUD::_GET_TEXT_SUBSTRING_SLICE(\"MY_STRING\", 3, 9);\n// Overflows are possibly replaced with underscores (needs verification)\nsubStr = HUD::_GET_TEXT_SUBSTRING_SLICE(\"MY_STRING\", 3, 10); // \"STRING_\"?", + "comment": "Returns a substring that is between two specified positions. The length of the string will be calculated using (endPosition - startPosition).\n\nExample:\n// Get \"STRING\" text from \"MY_STRING\"\nsubStr = HUD::GET_CHARACTER_FROM_AUDIO_CONVERSATION_FILENAME_BYTES(\"MY_STRING\", 3, 9);\n// Overflows are possibly replaced with underscores (needs verification)\nsubStr = HUD::GET_CHARACTER_FROM_AUDIO_CONVERSATION_FILENAME_BYTES(\"MY_STRING\", 3, 10); // \"STRING_\"?", "params": [ { "type": "const char*", @@ -30521,7 +30521,7 @@ "0x170F541E1CADD1DE": { "name": "USE_FAKE_MP_CASH", "jhash": "0x6253B9D7", - "comment": "Related to displaying cash on the HUD\nAlways called before HUD::_SET_SINGLEPLAYER_HUD_CASH in decompiled scripts", + "comment": "Related to displaying cash on the HUD\nAlways called before HUD::CHANGE_FAKE_MP_CASH in decompiled scripts", "params": [ { "type": "BOOL", @@ -42032,19 +42032,19 @@ "0x6EA318C91C1A8786": { "name": "NETWORK_EARN_FROM_DAILY_OBJECTIVES", "jhash": "0xAB6BD72F", - "comment": "", + "comment": "type either Monthly,Weekly,Daily", "params": [ { "type": "int", - "name": "p0" + "name": "amount" }, { "type": "const char*", - "name": "p1" + "name": "type" }, { "type": "int", - "name": "p2" + "name": "characterSlot" } ], "return_type": "void", @@ -46206,15 +46206,15 @@ "0x7049BF858601DC0F": { "name": "NETWORK_SPEND_ARENA_SPECTATOR_BOX", "jhash": "", - "comment": "", + "comment": "type either, 1 for cam spectate, 2 for drone", "params": [ { "type": "int", "name": "amount" }, { - "type": "Any", - "name": "p1" + "type": "int", + "name": "type" }, { "type": "BOOL", @@ -47174,15 +47174,15 @@ "comment": "", "params": [ { - "type": "Any", - "name": "p0" + "type": "int", + "name": "amount1" }, { "type": "Any", "name": "p1" }, { - "type": "Any", + "type": "BOOL", "name": "p2" }, { @@ -47190,20 +47190,20 @@ "name": "p3" }, { - "type": "Any", + "type": "int", "name": "p4" }, { - "type": "Any", + "type": "int", "name": "p5" }, { - "type": "Any", + "type": "int", "name": "p6" }, { - "type": "Any", - "name": "p7" + "type": "int", + "name": "amount2" }, { "type": "Any", @@ -47306,8 +47306,8 @@ "comment": "", "params": [ { - "type": "Any", - "name": "p0" + "type": "int", + "name": "amount1" }, { "type": "Any", @@ -47322,11 +47322,11 @@ "name": "p3" }, { - "type": "Any", - "name": "p4" + "type": "int", + "name": "amount2" }, { - "type": "Any", + "type": "int", "name": "p5" } ], @@ -47387,8 +47387,8 @@ "comment": "", "params": [ { - "type": "Any", - "name": "p0" + "type": "int", + "name": "amount1" }, { "type": "Any", @@ -47399,8 +47399,8 @@ "name": "p2" }, { - "type": "Any", - "name": "p3" + "type": "int", + "name": "amount2" }, { "type": "Any", @@ -50350,10 +50350,10 @@ "0xF1EEA2DDA9FFA69D": { "name": "NETWORK_SESSION_SET_MATCHMAKING_MENTAL_STATE", "jhash": "0x6CC062FC", - "comment": "", + "comment": "p0 in the decompiled scripts is always the stat mesh_texblend * 0.07 to int", "params": [ { - "type": "Any", + "type": "int", "name": "p0" } ], @@ -50366,8 +50366,8 @@ "comment": "", "params": [ { - "type": "Any", - "name": "p0" + "type": "int", + "name": "num" } ], "return_type": "void", @@ -50938,11 +50938,11 @@ "0xB4AB419E0D86ACAE": { "name": "NETWORK_SESSION_CHANGE_SLOTS", "jhash": "0x6BB93227", - "comment": "", + "comment": "num player slots allowed in session, seems to work? 32 max", "params": [ { "type": "int", - "name": "p0" + "name": "slots" }, { "type": "BOOL", @@ -51900,7 +51900,7 @@ "name": "p0" }, { - "type": "Any", + "type": "BOOL", "name": "p1" } ], @@ -52028,11 +52028,11 @@ "name": "p1" }, { - "type": "Any", - "name": "p2" + "type": "int", + "name": "dataCount" }, { - "type": "Any", + "type": "int", "name": "p3" } ], @@ -52056,11 +52056,11 @@ "name": "p1" }, { - "type": "Any", - "name": "p2" + "type": "int", + "name": "dataCount" }, { - "type": "Any", + "type": "int", "name": "p3" } ], @@ -52084,11 +52084,11 @@ "name": "p1" }, { - "type": "Any", - "name": "p2" + "type": "int", + "name": "dataCount" }, { - "type": "Any", + "type": "int", "name": "p3" } ], @@ -52104,7 +52104,7 @@ "comment": "", "params": [ { - "type": "Any", + "type": "int", "name": "p0" } ], @@ -52125,7 +52125,7 @@ "comment": "", "params": [ { - "type": "Any", + "type": "int", "name": "p0" } ], @@ -52138,7 +52138,7 @@ "comment": "", "params": [ { - "type": "Any", + "type": "int", "name": "p0" } ], @@ -52151,7 +52151,7 @@ "comment": "", "params": [ { - "type": "Any", + "type": "int", "name": "p0" } ], @@ -52164,7 +52164,7 @@ "comment": "", "params": [ { - "type": "Any", + "type": "int", "name": "p0" } ], @@ -52207,7 +52207,7 @@ "comment": "", "params": [ { - "type": "Any", + "type": "int", "name": "p0" } ], @@ -52220,7 +52220,7 @@ "comment": "", "params": [ { - "type": "Any", + "type": "int", "name": "p0" } ], @@ -52233,7 +52233,7 @@ "comment": "", "params": [ { - "type": "Any", + "type": "int", "name": "p0" } ], @@ -52246,7 +52246,7 @@ "comment": "", "params": [ { - "type": "Any", + "type": "int", "name": "p0" } ], @@ -52345,7 +52345,7 @@ "name": "p2" }, { - "type": "Any*", + "type": "Any", "name": "p3" } ], @@ -52439,12 +52439,12 @@ "comment": "", "params": [ { - "type": "Any", + "type": "int", "name": "p0" }, { "type": "Any*", - "name": "p1" + "name": "gamerHandle" } ], "return_type": "BOOL", @@ -52460,8 +52460,8 @@ "name": "p0" }, { - "type": "Any", - "name": "p1" + "type": "Any*", + "name": "gamerHandle" } ], "return_type": "BOOL", @@ -56832,32 +56832,32 @@ "comment": "", "params": [ { - "type": "Any", - "name": "p0" + "type": "float", + "name": "x" }, { - "type": "Any", - "name": "p1" + "type": "float", + "name": "y" }, { - "type": "Any", - "name": "p2" + "type": "float", + "name": "z" }, { "type": "Any", "name": "p3" }, { - "type": "Any", - "name": "p4" + "type": "Any*", + "name": "out1" }, { - "type": "Any", - "name": "p5" + "type": "Any*", + "name": "out2" }, { - "type": "Any", - "name": "p6" + "type": "Any*", + "name": "out3" } ], "return_type": "void", @@ -57439,7 +57439,7 @@ }, { "type": "BOOL", - "name": "p1" + "name": "toggle" } ], "return_type": "void", @@ -58249,27 +58249,27 @@ "params": [ { "type": "float", - "name": "p0" + "name": "x1" }, { "type": "float", - "name": "p1" + "name": "y1" }, { "type": "float", - "name": "p2" + "name": "z1" }, { "type": "float", - "name": "p3" + "name": "x2" }, { "type": "float", - "name": "p4" + "name": "y2" }, { "type": "float", - "name": "p5" + "name": "z2" } ], "return_type": "int", @@ -58322,27 +58322,27 @@ "params": [ { "type": "float", - "name": "p0" + "name": "x1" }, { "type": "float", - "name": "p1" + "name": "y1" }, { "type": "float", - "name": "p2" + "name": "z1" }, { "type": "float", - "name": "p3" + "name": "x2" }, { "type": "float", - "name": "p4" + "name": "y2" }, { "type": "float", - "name": "p5" + "name": "z2" } ], "return_type": "int", @@ -58357,32 +58357,32 @@ "comment": "", "params": [ { - "type": "Any", - "name": "p0" + "type": "float", + "name": "x1" }, { - "type": "Any", - "name": "p1" + "type": "float", + "name": "y1" }, { - "type": "Any", - "name": "p2" + "type": "float", + "name": "z1" }, { - "type": "Any", - "name": "p3" + "type": "float", + "name": "x2" }, { - "type": "Any", - "name": "p4" + "type": "float", + "name": "y2" }, { - "type": "Any", - "name": "p5" + "type": "float", + "name": "z2" }, { - "type": "Any", - "name": "p6" + "type": "float", + "name": "radius" } ], "return_type": "int", @@ -58394,8 +58394,8 @@ "comment": "", "params": [ { - "type": "Any", - "name": "p0" + "type": "int", + "name": "areaHandle" } ], "return_type": "BOOL", @@ -58466,8 +58466,8 @@ "comment": "", "params": [ { - "type": "Any", - "name": "p0" + "type": "int", + "name": "netId" } ], "return_type": "void", @@ -58479,12 +58479,12 @@ "comment": "", "params": [ { - "type": "Any", - "name": "p0" + "type": "int", + "name": "netId" }, { - "type": "Any", - "name": "p1" + "type": "BOOL", + "name": "toggle" } ], "return_type": "void", @@ -58860,8 +58860,8 @@ "comment": "", "params": [ { - "type": "Any", - "name": "p0" + "type": "int", + "name": "boneIndex" } ], "return_type": "BOOL", @@ -58924,15 +58924,15 @@ "0x3FC795691834481D": { "name": "NETWORK_SET_NO_LONGER_NEEDED", "jhash": "", - "comment": "nullsub, doesn't do anything", + "comment": "", "params": [ { - "type": "Any", - "name": "p0" + "type": "Entity", + "name": "entity" }, { - "type": "Any", - "name": "p1" + "type": "BOOL", + "name": "toggle" } ], "return_type": "void", @@ -59036,12 +59036,12 @@ "comment": "", "params": [ { - "type": "Any", - "name": "p0" + "type": "int", + "name": "netId" }, { - "type": "Any", - "name": "p1" + "type": "BOOL", + "name": "toggle" } ], "return_type": "void", @@ -59084,7 +59084,7 @@ "0x367EF5E2F439B4C6": { "name": "NETWORK_SET_PLAYER_MENTAL_STATE", "jhash": "0x53C9563C", - "comment": "", + "comment": "p0 in the decompiled scripts is always the stat mesh_texblend * 0.07 to int", "params": [ { "type": "int", @@ -65517,7 +65517,7 @@ "0xE1615EC03B3BB4FD": { "name": "IS_MOUSE_LOOK_INVERTED", "jhash": "", - "comment": "Used with IS_LOOK_INVERTED() and negates its affect.\n\n--\n\nNot sure how the person above got that description, but here's an actual example:\n\nif (PAD::_GET_LAST_INPUT_METHOD(2)) {\n if (a_5) {\n if (PAD::IS_LOOK_INVERTED()) {\n a_3 *= -1;\n }\n if (PAD::IS_MOUSE_LOOK_INVERTED()) {\n a_3 *= -1;\n }\n }\n}", + "comment": "Used with IS_LOOK_INVERTED() and negates its affect.\n\n--\n\nNot sure how the person above got that description, but here's an actual example:\n\nif (PAD::IS_USING_KEYBOARD_AND_MOUSE(2)) {\n if (a_5) {\n if (PAD::IS_LOOK_INVERTED()) {\n a_3 *= -1;\n }\n if (PAD::IS_MOUSE_LOOK_INVERTED()) {\n a_3 *= -1;\n }\n }\n}", "params": [], "return_type": "BOOL", "build": "323" @@ -72285,7 +72285,7 @@ "0xCF1CE768BB43480E": { "name": "GET_PED_HEAD_OVERLAY_NUM", "jhash": "0xFF43C18D", - "comment": "Used with freemode (online) characters.", + "comment": "", "params": [ { "type": "int", @@ -72301,7 +72301,7 @@ "0x497BF74A7B9CB952": { "name": "SET_PED_HEAD_OVERLAY_TINT", "jhash": "", - "comment": "Used for freemode (online) characters.\n\nColorType is 1 for eyebrows, beards, and chest hair; 2 for blush and lipstick; and 0 otherwise, though not called in those cases.\n\nCalled after SET_PED_HEAD_OVERLAY().", + "comment": "\n\nColorType is 1 for eyebrows, beards, and chest hair; 2 for blush and lipstick; and 0 otherwise, though not called in those cases.\n\nCalled after SET_PED_HEAD_OVERLAY().", "params": [ { "type": "Ped", @@ -72333,7 +72333,7 @@ "0x4CFFC65454C93A49": { "name": "SET_PED_HAIR_TINT", "jhash": "", - "comment": "Used for freemode (online) characters.", + "comment": "", "params": [ { "type": "Ped", @@ -72357,7 +72357,7 @@ "0xE5C0CF872C2AD150": { "name": "GET_NUM_PED_HAIR_TINTS", "jhash": "", - "comment": "Used for freemode (online) characters.", + "comment": "", "params": [], "return_type": "int", "build": "323", @@ -73068,15 +73068,15 @@ }, { "type": "float", - "name": "p3" + "name": "x" }, { "type": "float", - "name": "p4" + "name": "y" }, { "type": "float", - "name": "p5" + "name": "z" } ], "return_type": "void", @@ -73364,7 +73364,7 @@ "0xD76632D99E4966C8": { "name": "SET_PED_TO_RAGDOLL_WITH_FALL", "jhash": "0xFA12E286", - "comment": "Return variable is never used in R*'s scripts.\n\nNot sure what p2 does. It seems like it would be a time judging by it's usage in R*'s scripts, but didn't seem to affect anything in my testings.\n\nx, y, and z are coordinates, most likely to where the ped will fall.\n\np7 is probably the force of the fall, but untested, so I left the variable name the same.\n\np8 to p13 are always 0f in R*'s scripts.\n\n(Simplified) Example of the usage of the function from R*'s scripts:\nped::set_ped_to_ragdoll_with_fall(ped, 1500, 2000, 1, -entity::get_entity_forward_vector(ped), 1f, 0f, 0f, 0f, 0f, 0f, 0f);\n", + "comment": "Return variable is never used in R*'s scripts.\n\nNot sure what p2 does. It seems like it would be a time judging by it's usage in R*'s scripts, but didn't seem to affect anything in my testings.\n\nenum eRagdollType\n{\n RD_MALE=0,\n RD_FEMALE = 1,\n RD_MALE_LARGE = 2,\n RD_CUSTOM = 3,\n}\n\nx, y, and z are coordinates, most likely to where the ped will fall.\n\np8 to p13 are always 0f in R*'s scripts.\n\n(Simplified) Example of the usage of the function from R*'s scripts:\nped::set_ped_to_ragdoll_with_fall(ped, 1500, 2000, 1, -entity::get_entity_forward_vector(ped), 1f, 0f, 0f, 0f, 0f, 0f, 0f);\n", "params": [ { "type": "Ped", @@ -73396,7 +73396,7 @@ }, { "type": "float", - "name": "p7" + "name": "velocity" }, { "type": "float", @@ -73554,7 +73554,7 @@ "0x26695EC767728D84": { "name": "SET_RAGDOLL_BLOCKING_FLAGS", "jhash": "0x9C8F830D", - "comment": "Works for both player and peds, but some flags don't seem to work for the player (1, for example)\n\n1 - Blocks ragdolling when shot.\n2 - Blocks ragdolling when hit by a vehicle. The ped still might play a falling animation.\n4 - Blocks ragdolling when set on fire.\n\n-----------------------------------------------------------------------\n\nThere seem to be 26 flags", + "comment": "Works for both player and peds,\n\nenum eRagdollBlockingFlags\n{\n RBF_BULLET_IMPACT = 0,\n RBF_VEHICLE_IMPACT = 1,\n RBF_FIRE = 2,\n RBF_ELECTROCUTION = 3,\n RBF_PLAYER_IMPACT = 4,\n RBF_EXPLOSION = 5,0\n RBF_IMPACT_OBJECT = 6,\n RBF_MELEE = 7,\n RBF_RUBBER_BULLET = 8,\n RBF_FALLING = 9,\n RBF_WATER_JET = 10,\n RBF_DROWNING = 11,\n _0x9F52E2C4 = 12,\n RBF_PLAYER_BUMP = 13,\n RBF_PLAYER_RAGDOLL_BUMP = 14,\n RBF_PED_RAGDOLL_BUMP = 15,\n RBF_VEHICLE_GRAB = 16,\n RBF_SMOKE_GRENADE = 17,\n};\n\n", "params": [ { "type": "Ped", @@ -73562,7 +73562,7 @@ }, { "type": "int", - "name": "flags" + "name": "blockingFlag" } ], "return_type": "void", @@ -73574,7 +73574,7 @@ "0xD86D101FCFD00A4B": { "name": "CLEAR_RAGDOLL_BLOCKING_FLAGS", "jhash": "0x77CBA290", - "comment": "There seem to be 26 flags", + "comment": "See SET_RAGDOLL_BLOCKING_FLAGS for flags", "params": [ { "type": "Ped", @@ -73582,7 +73582,7 @@ }, { "type": "int", - "name": "flags" + "name": "blockingFlag" } ], "return_type": "void", @@ -77380,7 +77380,7 @@ "0x46B05BCAE43856B0": { "name": "PED_HAS_SEXINESS_FLAG_SET", "jhash": "0x79543043", - "comment": "Checks if the specified unknown flag is set in the ped's model.\nThe engine itself seems to exclusively check for flags 1 and 4 (Might be inlined code of the check that checks for other flags).\nGame scripts exclusively check for flags 1 and 4.", + "comment": "Checks if the specified sexiness flag is set\n\nenum eSexinessFlags\n{\n SF_JEER_AT_HOT_PED = 0,\n SF_HURRIEDFEMALES_SEXY = 1,\n SF_HOT_PERSON = 2,\n };", "params": [ { "type": "Ped", @@ -77388,7 +77388,7 @@ }, { "type": "int", - "name": "flag" + "name": "sexinessFlag" } ], "return_type": "BOOL", @@ -84158,7 +84158,10 @@ } ], "return_type": "void", - "build": "1103" + "build": "1103", + "old_names": [ + "_TRIGGER_SCRIPT_EVENT_2" + ] } }, "SECURITY": { @@ -86981,12 +86984,12 @@ "comment": "", "params": [ { - "type": "Any", + "type": "int", "name": "p0" }, { - "type": "Any", - "name": "p1" + "type": "int", + "name": "activityId" } ], "return_type": "void", @@ -88738,8 +88741,8 @@ "name": "p0" }, { - "type": "Any", - "name": "p1" + "type": "int", + "name": "characterSlot" } ], "return_type": "void", @@ -88755,8 +88758,8 @@ "name": "p0" }, { - "type": "Any", - "name": "p1" + "type": "int", + "name": "characterSlot" } ], "return_type": "void", @@ -88883,7 +88886,7 @@ "comment": "", "params": [ { - "type": "Any", + "type": "int", "name": "p0" } ], @@ -88896,7 +88899,7 @@ "comment": "", "params": [ { - "type": "Any", + "type": "int", "name": "p0" }, { @@ -89256,8 +89259,8 @@ "comment": "", "params": [ { - "type": "Any", - "name": "p0" + "type": "int", + "name": "characterSlot" }, { "type": "Any", @@ -89947,11 +89950,11 @@ "name": "p3" }, { - "type": "Any", - "name": "p4" + "type": "int", + "name": "role" }, { - "type": "Any", + "type": "int", "name": "p5" }, { @@ -90731,12 +90734,12 @@ "comment": "", "params": [ { - "type": "Any", + "type": "int", "name": "p0" }, { - "type": "Any", - "name": "p1" + "type": "Hash", + "name": "objectHash" }, { "type": "Any", @@ -96702,7 +96705,7 @@ "0x15C86013127CE63F": { "name": "TASK_BOAT_MISSION", "jhash": "0x5865B031", - "comment": "You need to call PED::SET_BLOCKING_OF_NON_TEMPORARY_EVENTS after TASK_BOAT_MISSION in order for the task to execute.\n\nWorking example\nfloat vehicleMaxSpeed = VEHICLE::_GET_VEHICLE_MAX_SPEED(ENTITY::GET_ENTITY_MODEL(pedVehicle));\nTASK::TASK_BOAT_MISSION(pedDriver, pedVehicle, 0, 0, waypointCoord.x, waypointCoord.y, waypointCoord.z, 4, vehicleMaxSpeed, 786469, -1.0, 7);\nPED::SET_BLOCKING_OF_NON_TEMPORARY_EVENTS(pedDriver, 1);\n\nP8 appears to be driving style flag - see gtaforums.com/topic/822314-guide-driving-styles/ for documentation", + "comment": "You need to call PED::SET_BLOCKING_OF_NON_TEMPORARY_EVENTS after TASK_BOAT_MISSION in order for the task to execute.\n\nWorking example\nfloat vehicleMaxSpeed = VEHICLE::GET_VEHICLE_ESTIMATED_MAX_SPEED(ENTITY::GET_ENTITY_MODEL(pedVehicle));\nTASK::TASK_BOAT_MISSION(pedDriver, pedVehicle, 0, 0, waypointCoord.x, waypointCoord.y, waypointCoord.z, 4, vehicleMaxSpeed, 786469, -1.0, 7);\nPED::SET_BLOCKING_OF_NON_TEMPORARY_EVENTS(pedDriver, 1);\n\nP8 appears to be driving style flag - see gtaforums.com/topic/822314-guide-driving-styles/ for documentation", "params": [ { "type": "Ped", @@ -107812,23 +107815,23 @@ "name": "vehicle" }, { - "type": "Any", + "type": "BOOL", "name": "p1" }, { - "type": "Any", - "name": "p2" + "type": "float", + "name": "x" }, { - "type": "Any", - "name": "p3" + "type": "float", + "name": "y" }, { - "type": "Any", - "name": "p4" + "type": "float", + "name": "z" }, { - "type": "Any", + "type": "BOOL", "name": "p5" } ], @@ -111229,7 +111232,7 @@ "0x29439776AAA00A62": { "name": "GET_VEHICLE_CLASS", "jhash": "0xC025338E", - "comment": "Returns an int\n\nVehicle Classes:\n0: Compacts\n1: Sedans\n2: SUVs\n3: Coupes\n4: Muscle\n5: Sports Classics\n6: Sports\n7: Super\n8: Motorcycles\n9: Off-road\n10: Industrial\n11: Utility\n12: Vans\n13: Cycles\n14: Boats\n15: Helicopters\n16: Planes\n17: Service\n18: Emergency\n19: Military\n20: Commercial\n21: Trains\n\nchar buffer[128];\nstd::sprintf(buffer, \"VEH_CLASS_%i\", VEHICLE::GET_VEHICLE_CLASS(vehicle));\n\nconst char* className = HUD::_GET_LABEL_TEXT(buffer);", + "comment": "Returns an int\n\nVehicle Classes:\n0: Compacts\n1: Sedans\n2: SUVs\n3: Coupes\n4: Muscle\n5: Sports Classics\n6: Sports\n7: Super\n8: Motorcycles\n9: Off-road\n10: Industrial\n11: Utility\n12: Vans\n13: Cycles\n14: Boats\n15: Helicopters\n16: Planes\n17: Service\n18: Emergency\n19: Military\n20: Commercial\n21: Trains\n\nchar buffer[128];\nstd::sprintf(buffer, \"VEH_CLASS_%i\", VEHICLE::GET_VEHICLE_CLASS(vehicle));\n\nconst char* className = HUD::GET_FILENAME_FOR_AUDIO_CONVERSATION(buffer);", "params": [ { "type": "Vehicle", @@ -112074,7 +112077,7 @@ "0xB8EF61207C2393A9": { "name": "GET_VEHICLE_HEALTH_PERCENTAGE", "jhash": "0x196BA503", - "comment": "0 min 100 max\nstarts at 100\nSeams to have health zones\nFront of vehicle when damaged goes from 100-50 and stops at 50.\nRear can be damaged from 100-0\nOnly tested with two cars.\n\nany idea how this differs from the first one?\n\n--\nMay return the vehicle health on a scale of 0.0 - 100.0 (needs to be confirmed)\n\nexample:\n\nv_F = ENTITY::GET_ENTITY_MODEL(v_3);\nif (((v_F == ${tanker}) || (v_F == ${armytanker})) || (v_F == ${tanker2})) {\n if (VEHICLE::_GET_VEHICLE_BODY_HEALTH_2(v_3) <= 1.0) {\n NETWORK::NETWORK_EXPLODE_VEHICLE(v_3, 1, 1, -1);\n }\n}", + "comment": "0 min 100 max\nstarts at 100\nSeams to have health zones\nFront of vehicle when damaged goes from 100-50 and stops at 50.\nRear can be damaged from 100-0\nOnly tested with two cars.\n\nany idea how this differs from the first one?\n\n--\nMay return the vehicle health on a scale of 0.0 - 100.0 (needs to be confirmed)\n\nexample:\n\nv_F = ENTITY::GET_ENTITY_MODEL(v_3);\nif (((v_F == ${tanker}) || (v_F == ${armytanker})) || (v_F == ${tanker2})) {\n if (VEHICLE::GET_VEHICLE_HEALTH_PERCENTAGE(v_3) <= 1.0) {\n NETWORK::NETWORK_EXPLODE_VEHICLE(v_3, 1, 1, -1);\n }\n}", "params": [ { "type": "Vehicle", @@ -116014,7 +116017,7 @@ "0x33E179436C0B31DB": { "name": "GIVE_WEAPON_COMPONENT_TO_WEAPON_OBJECT", "jhash": "0xF7612A37", - "comment": "addonHash:\n(use WEAPON::GET_WEAPON_COMPONENT_TYPE_MODEL() to get hash value)\n${component_at_ar_flsh}, ${component_at_ar_supp}, ${component_at_pi_flsh}, ${component_at_scope_large}, ${component_at_ar_supp_02}", + "comment": "componentHash:\n(use WEAPON::GET_WEAPON_COMPONENT_TYPE_MODEL() to get hash value)\n${component_at_ar_flsh}, ${component_at_ar_supp}, ${component_at_pi_flsh}, ${component_at_scope_large}, ${component_at_ar_supp_02}", "params": [ { "type": "Object", @@ -116022,7 +116025,7 @@ }, { "type": "Hash", - "name": "addonHash" + "name": "componentHash" } ], "return_type": "void", @@ -116031,15 +116034,15 @@ "0xF7D82B0D66777611": { "name": "REMOVE_WEAPON_COMPONENT_FROM_WEAPON_OBJECT", "jhash": "0xA6E7ED3C", - "comment": "", + "comment": "see DOES_WEAPON_TAKE_WEAPON_COMPONENT for full list of weapons & components", "params": [ { - "type": "Any", - "name": "p0" + "type": "Object", + "name": "object" }, { - "type": "Any", - "name": "p1" + "type": "Hash", + "name": "componentHash" } ], "return_type": "void", @@ -116048,7 +116051,7 @@ "0x76A18844E743BF91": { "name": "HAS_WEAPON_GOT_WEAPON_COMPONENT", "jhash": "0x1D368510", - "comment": "", + "comment": "see DOES_WEAPON_TAKE_WEAPON_COMPONENT for full list of weapons & components", "params": [ { "type": "Object", @@ -116056,7 +116059,7 @@ }, { "type": "Hash", - "name": "addonHash" + "name": "componentHash" } ], "return_type": "BOOL", @@ -116522,14 +116525,14 @@ "0xE6D2CEDD370FF98E": { "name": "SET_WEAPON_EFFECT_DURATION_MODIFIER", "jhash": "", - "comment": "", + "comment": "ex, WEAPON::SET_WEAPON_EFFECT_DURATION_MODIFIER(joaat(\"vehicle_weapon_mine_slick\"), 1.0);", "params": [ { - "type": "Any", + "type": "Hash", "name": "p0" }, { - "type": "Any", + "type": "float", "name": "p1" } ], @@ -116741,7 +116744,7 @@ }, { "type": "float", - "name": "p9" + "name": "radius" }, { "type": "Hash", From 488fbb80a83f21214fd95bcc5f3ea576b6f49ec7 Mon Sep 17 00:00:00 2001 From: Sainan <63328889+Sainan@users.noreply.github.com> Date: Mon, 10 Oct 2022 16:42:36 +0200 Subject: [PATCH 02/29] Update arguments for START_SHAPE_TEST_BOX --- natives.json | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/natives.json b/natives.json index e559d20..326b619 100755 --- a/natives.json +++ b/natives.json @@ -84344,15 +84344,15 @@ }, { "type": "float", - "name": "x1" + "name": "dimX" }, { "type": "float", - "name": "y2" + "name": "dimY" }, { "type": "float", - "name": "z2" + "name": "dimZ" }, { "type": "float", From 42282b19b1edea57621a2737e2a7ec54c4ac4b84 Mon Sep 17 00:00:00 2001 From: Sainan <63328889+Sainan@users.noreply.github.com> Date: Mon, 24 Oct 2022 21:15:41 +0200 Subject: [PATCH 03/29] Update comments on aim state getters --- natives.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/natives.json b/natives.json index 326b619..2cd1de0 100755 --- a/natives.json +++ b/natives.json @@ -65525,7 +65525,7 @@ "0xBB41AFBBBC0A0287": { "name": "GET_LOCAL_PLAYER_AIM_STATE", "jhash": "0x81802053", - "comment": "Returns the local player's targeting mode. See PLAYER::SET_PLAYER_TARGETING_MODE.", + "comment": "Hard-coded to return 3 if using KBM, otherwise same behavior as GET_LOCAL_PLAYER_GAMEPAD_AIM_STATE.", "params": [], "return_type": "int", "build": "323" @@ -65533,7 +65533,7 @@ "0x59B9A7AF4C95133C": { "name": "GET_LOCAL_PLAYER_GAMEPAD_AIM_STATE", "jhash": "", - "comment": "Same behavior as GET_LOCAL_PLAYER_AIM_STATE but only used on the PC version.", + "comment": "Returns the local player's targeting mode. See PLAYER::SET_PLAYER_TARGETING_MODE.", "params": [], "return_type": "int", "build": "323", From 0f94db29b7957b6b8f04b31eb1931528a3b6958f Mon Sep 17 00:00:00 2001 From: Sainan <63328889+Sainan@users.noreply.github.com> Date: Mon, 24 Oct 2022 21:15:51 +0200 Subject: [PATCH 04/29] Add comment to SET_BLIP_SECONDARY_COLOUR --- natives.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/natives.json b/natives.json index 2cd1de0..acb7601 100755 --- a/natives.json +++ b/natives.json @@ -29366,7 +29366,7 @@ "0x14892474891E09EB": { "name": "SET_BLIP_SECONDARY_COLOUR", "jhash": "0xC6384D32", - "comment": "", + "comment": "Can be used to give blips any RGB colour with SET_BLIP_COLOUR(blip, 84).", "params": [ { "type": "Blip", From 00caba3041c56f649196b4da627655862e595b7d Mon Sep 17 00:00:00 2001 From: yasmasdas <114929405+yasmasdas@users.noreply.github.com> Date: Fri, 11 Nov 2022 14:18:26 +0100 Subject: [PATCH 05/29] =?UTF-8?q?=E0=B6=9E=20params=20=E0=B6=9E=20descs=20?= =?UTF-8?q?=E0=B6=9E?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- natives.json | 712 +++++++++++++++++++++++++-------------------------- 1 file changed, 356 insertions(+), 356 deletions(-) diff --git a/natives.json b/natives.json index acb7601..c3b134a 100755 --- a/natives.json +++ b/natives.json @@ -1231,7 +1231,7 @@ "comment": "", "params": [ { - "type": "Any", + "type": "const char*", "name": "p0" }, { @@ -1252,7 +1252,7 @@ "comment": "", "params": [ { - "type": "Any", + "type": "const char*", "name": "p0" }, { @@ -1273,7 +1273,7 @@ "comment": "", "params": [ { - "type": "Any", + "type": "const char*", "name": "p0" }, { @@ -1486,14 +1486,14 @@ "0x5B9853296731E88D": { "name": "PLAY_SOUND_FROM_ENTITY_HASH", "jhash": "", - "comment": "", + "comment": "p2 is Entity?", "params": [ { - "type": "Any", - "name": "p0" + "type": "int", + "name": "soundId" }, { - "type": "Any", + "type": "Hash", "name": "p1" }, { @@ -1501,8 +1501,8 @@ "name": "p2" }, { - "type": "Any", - "name": "p3" + "type": "Hash", + "name": "soundNameHash" }, { "type": "Any", @@ -1567,20 +1567,20 @@ "comment": "", "params": [ { - "type": "Any", - "name": "p0" + "type": "int", + "name": "soundId" }, { - "type": "Any", - "name": "p1" + "type": "float", + "name": "x" }, { - "type": "Any", - "name": "p2" + "type": "float", + "name": "y" }, { - "type": "Any", - "name": "p3" + "type": "float", + "name": "z" } ], "return_type": "void", @@ -1635,8 +1635,8 @@ "name": "soundId" }, { - "type": "Any*", - "name": "p1" + "type": "const char*", + "name": "variable" }, { "type": "float", @@ -1653,7 +1653,7 @@ "params": [ { "type": "const char*", - "name": "p0" + "name": "variable" }, { "type": "float", @@ -1669,7 +1669,7 @@ "comment": "", "params": [ { - "type": "Any*", + "type": "const char*", "name": "p0" }, { @@ -1908,11 +1908,11 @@ "0xD01005D2BA2EB778": { "name": "ACTIVATE_AUDIO_SLOWMO_MODE", "jhash": "0x59A3A17D", - "comment": "", + "comment": "mode can be any of these: \nSLOWMO_T1_TRAILER_SMASH\nSLOWMO_T1_RAYFIRE_EXPLOSION\nSLOWMO_PROLOGUE_VAULT\nNIGEL_02_SLOWMO_SETTING\nJSH_EXIT_TUNNEL_SLOWMO\nSLOWMO_BIG_SCORE_JUMP\nSLOWMO_FIB4_TRUCK_SMASH\nSLOWMO_EXTREME_04\nSLOW_MO_METH_HOUSE_RAYFIRE\nBARRY_02_SLOWMO\nBARRY_01_SLOWMO", "params": [ { "type": "const char*", - "name": "p0" + "name": "mode" } ], "return_type": "void", @@ -1921,7 +1921,7 @@ "0xDDC635D5B3262C56": { "name": "DEACTIVATE_AUDIO_SLOWMO_MODE", "jhash": "0x0E387BFE", - "comment": "", + "comment": "see ACTIVATE_AUDIO_SLOWMO_MODE for modes", "params": [ { "type": "const char*", @@ -2010,12 +2010,12 @@ "name": "ped" }, { - "type": "Any", + "type": "int", "name": "p1" }, { - "type": "Any", - "name": "p2" + "type": "Hash", + "name": "voiceGroup" } ], "return_type": "void", @@ -2129,7 +2129,7 @@ "comment": "", "params": [ { - "type": "Any", + "type": "Ped", "name": "p0" } ], @@ -2160,7 +2160,7 @@ "0x49B99BF3FDA89A7A": { "name": "DOES_CONTEXT_EXIST_FOR_THIS_PED", "jhash": "0x8BD5F11E", - "comment": "Checks if the ped can play the speech or has the speech file, last parameter is usually false.", + "comment": "Checks if the ped can play the speech or has the speech file, p2 is usually false.", "params": [ { "type": "Ped", @@ -2172,7 +2172,7 @@ }, { "type": "BOOL", - "name": "unk" + "name": "p2" } ], "return_type": "BOOL", @@ -2677,19 +2677,19 @@ "comment": "", "params": [ { - "type": "Any", - "name": "p0" + "type": "const char*", + "name": "radioName" }, { - "type": "Any", - "name": "p1" + "type": "const char*", + "name": "radioTrack" }, { - "type": "Any", + "type": "const char*", "name": "p2" }, { - "type": "Any", + "type": "const char*", "name": "p3" } ], @@ -2996,15 +2996,15 @@ "params": [ { "type": "float*", - "name": "p0" + "name": "out1" }, { "type": "float*", - "name": "p1" + "name": "out2" }, { "type": "int*", - "name": "p2" + "name": "out3" } ], "return_type": "BOOL", @@ -3381,15 +3381,15 @@ "comment": "", "params": [ { - "type": "Any", + "type": "BOOL", "name": "p0" }, { - "type": "Any", + "type": "BOOL", "name": "p1" }, { - "type": "Any", + "type": "BOOL", "name": "p2" } ], @@ -3573,11 +3573,11 @@ "comment": "", "params": [ { - "type": "Any", - "name": "p0" + "type": "Ped", + "name": "ped" }, { - "type": "Any", + "type": "BOOL", "name": "p1" } ], @@ -5712,11 +5712,11 @@ "comment": "", "params": [ { - "type": "Any", - "name": "p0" + "type": "Cam", + "name": "cam" }, { - "type": "Any", + "type": "float", "name": "p1" } ], @@ -8458,7 +8458,7 @@ }, { "type": "int", - "name": "unk" + "name": "p6" } ], "return_type": "void", @@ -8809,11 +8809,11 @@ "params": [ { "type": "const char*", - "name": "p0" + "name": "shakeType" }, { "type": "float", - "name": "p1" + "name": "amount" } ], "return_type": "void", @@ -8913,18 +8913,18 @@ "0x741B0129D4560F31": { "name": "CREATE_CINEMATIC_SHOT", "jhash": "0xAC494E35", - "comment": "", + "comment": "hash is always JOAAT(\"CAMERA_MAN_SHOT\") in decompiled scripts", "params": [ { - "type": "Any", + "type": "Hash", "name": "p0" }, { "type": "int", - "name": "p1" + "name": "time" }, { - "type": "Any", + "type": "BOOL", "name": "p2" }, { @@ -8938,10 +8938,10 @@ "0xCC9F3371A7C28BC9": { "name": "IS_CINEMATIC_SHOT_ACTIVE", "jhash": "0xA4049042", - "comment": "", + "comment": "Hash is always JOAAT(\"CAMERA_MAN_SHOT\") in decompiled scripts", "params": [ { - "type": "Any", + "type": "Hash", "name": "p0" } ], @@ -8968,7 +8968,7 @@ "params": [ { "type": "BOOL", - "name": "p0" + "name": "toggle" } ], "return_type": "void", @@ -9897,8 +9897,8 @@ "comment": "", "params": [ { - "type": "Any", - "name": "p0" + "type": "int", + "name": "cutsceneHandle" } ], "return_type": "int", @@ -10297,11 +10297,11 @@ "0xAD6875BBC0FC899C": { "name": "DATAFILE_WATCH_REQUEST_ID", "jhash": "0x621388FF", - "comment": "Adds the given request ID to the watch list.", + "comment": "Adds the given requestID to the watch list.", "params": [ { "type": "int", - "name": "id" + "name": "requestId" } ], "return_type": "void", @@ -10334,8 +10334,8 @@ "comment": "", "params": [ { - "type": "Any", - "name": "p0" + "type": "int", + "name": "requestId" } ], "return_type": "BOOL", @@ -10347,8 +10347,8 @@ "comment": "", "params": [ { - "type": "Any", - "name": "p0" + "type": "int", + "name": "requestId" } ], "return_type": "BOOL", @@ -10360,8 +10360,8 @@ "comment": "", "params": [ { - "type": "Any", - "name": "p0" + "type": "int", + "name": "requestId" }, { "type": "Any", @@ -10377,8 +10377,8 @@ "comment": "", "params": [ { - "type": "Any", - "name": "p0" + "type": "int", + "name": "requestId" } ], "return_type": "BOOL", @@ -14737,7 +14737,7 @@ "0xEA1C610A04DB6BBB": { "name": "SET_ENTITY_VISIBLE", "jhash": "0xD043E8E1", - "comment": "unk was always 0.", + "comment": "p2 is always 0.", "params": [ { "type": "Entity", @@ -14749,7 +14749,7 @@ }, { "type": "BOOL", - "name": "unk" + "name": "p2" } ], "return_type": "void", @@ -17261,44 +17261,44 @@ "comment": "", "params": [ { - "type": "Any", - "name": "p0" + "type": "float", + "name": "x1" }, { - "type": "Any", - "name": "p1" + "type": "float", + "name": "y1" }, { - "type": "Any", - "name": "p2" + "type": "float", + "name": "z1" }, { - "type": "Any", - "name": "p3" + "type": "float", + "name": "x2" }, { - "type": "Any", - "name": "p4" + "type": "float", + "name": "y2" }, { - "type": "Any", - "name": "p5" + "type": "float", + "name": "z2" }, { - "type": "Any", - "name": "p6" + "type": "int", + "name": "r" }, { - "type": "Any", - "name": "p7" + "type": "int", + "name": "g" }, { - "type": "Any", - "name": "p8" + "type": "int", + "name": "b" }, { - "type": "Any", - "name": "p9" + "type": "int", + "name": "alpha" } ], "return_type": "void", @@ -17416,44 +17416,44 @@ "comment": "", "params": [ { - "type": "Any", - "name": "p0" + "type": "float", + "name": "x1" }, { - "type": "Any", - "name": "p1" + "type": "float", + "name": "y1" }, { - "type": "Any", - "name": "p2" + "type": "float", + "name": "z1" }, { - "type": "Any", - "name": "p3" + "type": "float", + "name": "x2" }, { - "type": "Any", - "name": "p4" + "type": "float", + "name": "y2" }, { - "type": "Any", - "name": "p5" + "type": "float", + "name": "z2" }, { - "type": "Any", - "name": "p6" + "type": "int", + "name": "r" }, { - "type": "Any", - "name": "p7" + "type": "int", + "name": "g" }, { - "type": "Any", - "name": "p8" + "type": "int", + "name": "b" }, { - "type": "Any", - "name": "p9" + "type": "int", + "name": "alpha" } ], "return_type": "void", @@ -18008,8 +18008,8 @@ "comment": "", "params": [ { - "type": "Any", - "name": "p0" + "type": "BOOL", + "name": "toggle" } ], "return_type": "void", @@ -18132,7 +18132,7 @@ "params": [ { "type": "BOOL", - "name": "p0" + "name": "toggle" } ], "return_type": "void", @@ -18148,7 +18148,7 @@ "name": "p0" }, { - "type": "Any", + "type": "int", "name": "p1" } ], @@ -19772,7 +19772,7 @@ "name": "z" }, { - "type": "Any", + "type": "BOOL", "name": "p3" } ], @@ -20194,7 +20194,7 @@ "params": [ { "type": "BOOL", - "name": "p0" + "name": "toggle" } ], "return_type": "void", @@ -20206,8 +20206,8 @@ "comment": "", "params": [ { - "type": "Any", - "name": "p0" + "type": "BOOL", + "name": "toggle" } ], "return_type": "void", @@ -20219,7 +20219,7 @@ "comment": "", "params": [ { - "type": "Any", + "type": "float", "name": "p0" } ], @@ -20484,19 +20484,19 @@ "comment": "This function is hard-coded to always return 0.", "params": [ { - "type": "Any", + "type": "float", "name": "p0" }, { - "type": "Any", + "type": "float", "name": "p1" }, { - "type": "Any", + "type": "float", "name": "p2" }, { - "type": "Any", + "type": "float", "name": "p3" } ], @@ -20509,8 +20509,8 @@ "comment": "This native does absolutely nothing, just a nullsub", "params": [ { - "type": "Any", - "name": "p0" + "type": "int", + "name": "handle" } ], "return_type": "void", @@ -20523,23 +20523,23 @@ "params": [ { "type": "int", - "name": "p0" + "name": "handle" }, { "type": "float", - "name": "p1" + "name": "x" }, { "type": "float", - "name": "p2" + "name": "y" }, { "type": "float", - "name": "p3" + "name": "z" }, { "type": "float", - "name": "p4" + "name": "scale" } ], "return_type": "void", @@ -20551,8 +20551,8 @@ "comment": "", "params": [ { - "type": "Any", - "name": "p0" + "type": "int", + "name": "handle" } ], "return_type": "void", @@ -20564,8 +20564,8 @@ "comment": "", "params": [ { - "type": "Any", - "name": "p0" + "type": "int", + "name": "handle" } ], "return_type": "BOOL", @@ -20609,36 +20609,36 @@ "comment": "", "params": [ { - "type": "Any", - "name": "p0" + "type": "float", + "name": "x" }, { - "type": "Any", - "name": "p1" + "type": "float", + "name": "y" }, { - "type": "Any", - "name": "p2" + "type": "float", + "name": "z" }, { "type": "Any", "name": "p3" }, { - "type": "Any", + "type": "float", "name": "p4" }, { - "type": "Any", + "type": "float", "name": "p5" }, { - "type": "Any", + "type": "float", "name": "p6" }, { - "type": "Any", - "name": "p7" + "type": "float", + "name": "scale" } ], "return_type": "void", @@ -21437,11 +21437,11 @@ "0xE3E2C1B4C59DBC77": { "name": "RESET_ADAPTATION", "jhash": "0xD8CC7221", - "comment": "Sets an unknown value related to timecycles.", + "comment": "Sets an value related to timecycles.", "params": [ { "type": "int", - "name": "unk" + "name": "p0" } ], "return_type": "void", @@ -21553,7 +21553,7 @@ "0xBA3D65906822BED5": { "name": "SET_HIDOF_OVERRIDE", "jhash": "0x513D444B", - "comment": "Every p2 - p5 occurrence was 0f.", + "comment": "", "params": [ { "type": "BOOL", @@ -21592,7 +21592,7 @@ "comment": "", "params": [ { - "type": "Any", + "type": "BOOL", "name": "p0" } ], @@ -23104,23 +23104,23 @@ "comment": "", "params": [ { - "type": "Any", - "name": "p0" + "type": "float", + "name": "x" }, { - "type": "Any", - "name": "p1" + "type": "float", + "name": "y" }, { - "type": "Any", - "name": "p2" + "type": "float", + "name": "z" }, { - "type": "Any", - "name": "p3" + "type": "float", + "name": "range" }, { - "type": "Any", + "type": "float", "name": "p4" } ], @@ -23150,23 +23150,23 @@ "comment": "Fades nearby decals within the range specified", "params": [ { - "type": "Any", - "name": "p0" + "type": "float", + "name": "x" }, { - "type": "Any", - "name": "p1" + "type": "float", + "name": "y" }, { - "type": "Any", - "name": "p2" + "type": "float", + "name": "z" }, { - "type": "Any", + "type": "float", "name": "p3" }, { - "type": "Any", + "type": "float", "name": "p4" } ], @@ -23678,7 +23678,7 @@ "comment": "", "params": [ { - "type": "Any", + "type": "int*", "name": "p0" } ], @@ -24330,12 +24330,12 @@ "comment": "", "params": [ { - "type": "Any", - "name": "p0" + "type": "int", + "name": "scaleformHandle" }, { - "type": "Any", - "name": "p1" + "type": "BOOL", + "name": "toggle" } ], "return_type": "void", @@ -24404,7 +24404,7 @@ }, { "type": "int", - "name": "unk" + "name": "p9" } ], "return_type": "void", @@ -24437,7 +24437,7 @@ }, { "type": "int", - "name": "unk" + "name": "p5" } ], "return_type": "void", @@ -26684,16 +26684,16 @@ "comment": "", "params": [ { - "type": "Any", - "name": "p0" + "type": "const char*", + "name": "gxtLabel1" }, { - "type": "Any", + "type": "int", "name": "p1" }, { - "type": "Any", - "name": "p2" + "type": "const char*", + "name": "gxtLabel2" } ], "return_type": "int", @@ -26705,19 +26705,19 @@ "comment": "", "params": [ { - "type": "Any", - "name": "p0" + "type": "const char*", + "name": "gxtLabel1" }, { - "type": "Any", + "type": "int", "name": "p1" }, { - "type": "Any", - "name": "p2" + "type": "const char*", + "name": "gxtLabel2" }, { - "type": "Any", + "type": "int", "name": "p3" } ], @@ -30167,31 +30167,31 @@ "comment": "", "params": [ { - "type": "Any", - "name": "p0" + "type": "Blip", + "name": "blip" }, { - "type": "Any", + "type": "float", "name": "p1" }, { - "type": "Any", + "type": "float", "name": "p2" }, { - "type": "Any", + "type": "float", "name": "p3" }, { - "type": "Any", + "type": "float", "name": "p4" }, { - "type": "Any", + "type": "float", "name": "p5" }, { - "type": "Any", + "type": "float", "name": "p6" }, { @@ -30199,7 +30199,7 @@ "name": "p7" }, { - "type": "Any", + "type": "int", "name": "p8" } ], @@ -30396,15 +30396,15 @@ "0xA17784FCA9548D15": { "name": "SET_FAKE_GPS_PLAYER_POSITION_THIS_FRAME", "jhash": "", - "comment": "", + "comment": "p2 maybe z float?", "params": [ { - "type": "Any", - "name": "p0" + "type": "float", + "name": "x" }, { - "type": "Any", - "name": "p1" + "type": "float", + "name": "y" }, { "type": "Any", @@ -30638,7 +30638,7 @@ "name": "p0" }, { - "type": "int", + "type": "BOOL", "name": "p1" } ], @@ -33238,18 +33238,18 @@ "params": [ { "type": "Hash", - "name": "p0" + "name": "statHash" }, { - "type": "Any*", - "name": "p1" + "type": "int*", + "name": "outValue" }, { - "type": "Any", - "name": "p2" + "type": "int", + "name": "mask" }, { - "type": "int", + "type": "BOOL", "name": "p3" } ], @@ -33262,23 +33262,23 @@ "comment": "", "params": [ { - "type": "Any", - "name": "p0" + "type": "Hash", + "name": "statHash" }, { "type": "Any*", - "name": "p1" + "name": "outValue" }, { - "type": "Any", + "type": "int", "name": "p2" }, { - "type": "Any", - "name": "p3" + "type": "int", + "name": "mask" }, { - "type": "Any", + "type": "BOOL", "name": "p4" } ], @@ -33291,12 +33291,12 @@ "comment": "", "params": [ { - "type": "Any", - "name": "p0" + "type": "Hash", + "name": "statHash" }, { "type": "float*", - "name": "p1" + "name": "outValue" } ], "return_type": "BOOL", @@ -33308,15 +33308,15 @@ "comment": "", "params": [ { - "type": "Any", - "name": "p0" + "type": "float", + "name": "statHash" }, { - "type": "Any*", - "name": "p1" + "type": "float*", + "name": "outValue" }, { - "type": "Any", + "type": "BOOL", "name": "p2" } ], @@ -33330,11 +33330,11 @@ "params": [ { "type": "Hash", - "name": "p0" + "name": "statHash" }, { - "type": "Any*", - "name": "p1" + "type": "BOOL*", + "name": "outValue" } ], "return_type": "BOOL", @@ -37290,26 +37290,26 @@ "0xC0714D0A7EEECA54": { "name": "REGISTER_SAVE_HOUSE", "jhash": "0x39C1849A", - "comment": "", + "comment": "returns savehouseHandle", "params": [ { "type": "float", - "name": "p0" + "name": "x" }, { "type": "float", - "name": "p1" + "name": "y" }, { "type": "float", - "name": "p2" + "name": "z" }, { "type": "float", "name": "p3" }, { - "type": "Any*", + "type": "const char*", "name": "p4" }, { @@ -37330,8 +37330,8 @@ "comment": "", "params": [ { - "type": "Any", - "name": "p0" + "type": "int", + "name": "savehouseHandle" }, { "type": "BOOL", @@ -40039,7 +40039,7 @@ "params": [ { "type": "float", - "name": "p0" + "name": "distance" } ], "return_type": "void", @@ -40573,11 +40573,11 @@ "comment": "", "params": [ { - "type": "Any", + "type": "int", "name": "p0" }, { - "type": "Any", + "type": "int", "name": "p1" }, { @@ -40606,8 +40606,8 @@ "comment": "", "params": [ { - "type": "Any", - "name": "p0" + "type": "Player", + "name": "player" }, { "type": "Any", @@ -41162,7 +41162,7 @@ "params": [ { "type": "float", - "name": "p0" + "name": "horizontalPan" } ], "return_type": "void", @@ -41175,7 +41175,7 @@ "params": [ { "type": "float", - "name": "p0" + "name": "vertPan" } ], "return_type": "void", @@ -41188,7 +41188,7 @@ "params": [ { "type": "float", - "name": "p0" + "name": "roll" } ], "return_type": "void", @@ -41201,7 +41201,7 @@ "params": [ { "type": "float", - "name": "p0" + "name": "distanceScaling" } ], "return_type": "void", @@ -41214,7 +41214,7 @@ "params": [ { "type": "float", - "name": "p0" + "name": "yaw" } ], "return_type": "void", @@ -41227,7 +41227,7 @@ "params": [ { "type": "float", - "name": "p0" + "name": "roll" } ], "return_type": "void", @@ -41240,7 +41240,7 @@ "params": [ { "type": "float", - "name": "p0" + "name": "pitch" } ], "return_type": "void", @@ -41414,7 +41414,7 @@ }, { "type": "BOOL", - "name": "unk" + "name": "p3" } ], "return_type": "void", @@ -45465,7 +45465,7 @@ }, { "type": "const char*", - "name": "unk" + "name": "p1" }, { "type": "Any", @@ -45489,7 +45489,7 @@ }, { "type": "const char*", - "name": "unk" + "name": "p1" }, { "type": "int", @@ -45599,7 +45599,7 @@ }, { "type": "const char*", - "name": "unk" + "name": "p1" } ], "return_type": "void", @@ -45619,7 +45619,7 @@ }, { "type": "const char*", - "name": "unk" + "name": "p1" } ], "return_type": "void", @@ -53587,7 +53587,7 @@ }, { "type": "BOOL", - "name": "unk" + "name": "p4" }, { "type": "BOOL", @@ -59419,7 +59419,7 @@ "params": [ { "type": "int", - "name": "handle" + "name": "requestId" } ], "return_type": "BOOL", @@ -59432,7 +59432,7 @@ "params": [ { "type": "int", - "name": "handle" + "name": "requestId" } ], "return_type": "BOOL", @@ -65845,7 +65845,7 @@ }, { "type": "BOOL", - "name": "unknown" + "name": "p6" }, { "type": "Any", @@ -68123,7 +68123,7 @@ "params": [ { "type": "BOOL", - "name": "unk" + "name": "p0" } ], "return_type": "BOOL", @@ -69378,7 +69378,7 @@ }, { "type": "float", - "name": "unk" + "name": "p1" } ], "return_type": "void", @@ -70493,7 +70493,7 @@ }, { "type": "Any*", - "name": "unknown" + "name": "p1" }, { "type": "int*", @@ -77366,11 +77366,11 @@ "comment": "", "params": [ { - "type": "Any", - "name": "p0" + "type": "Ped", + "name": "ped" }, { - "type": "Any", + "type": "float", "name": "p1" } ], @@ -80940,7 +80940,7 @@ "params": [ { "type": "BOOL", - "name": "unk" + "name": "p0" } ], "return_type": "void", @@ -85920,7 +85920,7 @@ "params": [ { "type": "int", - "name": "p0" + "name": "statSlot" } ], "return_type": "BOOL", @@ -85944,7 +85944,7 @@ "name": "p2" }, { - "type": "Any", + "type": "BOOL", "name": "p3" } ], @@ -85970,8 +85970,8 @@ "comment": "", "params": [ { - "type": "Any", - "name": "p0" + "type": "int", + "name": "statSlot" } ], "return_type": "BOOL", @@ -86013,7 +86013,7 @@ "params": [ { "type": "int", - "name": "p0" + "name": "statSlot" } ], "return_type": "BOOL", @@ -86285,11 +86285,11 @@ "name": "statName" }, { - "type": "Any", + "type": "int", "name": "p1" }, { - "type": "Any", + "type": "int", "name": "p2" }, { @@ -86408,7 +86408,7 @@ "0x8B0FACEFC36C824B": { "name": "STAT_GET_DATE", "jhash": "0xD762D16C", - "comment": "", + "comment": "p3 is probably characterSlot or BOOL save, always -1", "params": [ { "type": "Hash", @@ -86416,11 +86416,11 @@ }, { "type": "Any*", - "name": "p1" + "name": "outValue" }, { - "type": "Any", - "name": "p2" + "type": "int", + "name": "numFields" }, { "type": "Any", @@ -86450,23 +86450,23 @@ "0x350F82CCB186AA1B": { "name": "STAT_GET_POS", "jhash": "0xC846ECCE", - "comment": "", + "comment": "p3 is probably characterSlot or BOOL save, always -1", "params": [ { - "type": "Any", - "name": "p0" + "type": "Hash", + "name": "statName" }, { - "type": "Any*", - "name": "p1" + "type": "float*", + "name": "outX" }, { - "type": "Any*", - "name": "p2" + "type": "float*", + "name": "outY" }, { - "type": "Any*", - "name": "p3" + "type": "float*", + "name": "outZ" }, { "type": "Any", @@ -86479,22 +86479,22 @@ "0x655185A06D9EEAAB": { "name": "STAT_GET_MASKED_INT", "jhash": "0xE9D9B70F", - "comment": "", + "comment": "p4 is probably characterSlot or BOOL save", "params": [ { - "type": "Any", - "name": "p0" + "type": "Hash", + "name": "statHash" }, { - "type": "Any*", - "name": "p1" + "type": "int*", + "name": "outValue" }, { - "type": "Any", + "type": "int", "name": "p2" }, { - "type": "Any", + "type": "int", "name": "p3" }, { @@ -86508,11 +86508,11 @@ "0x2365C388E393BBE2": { "name": "STAT_GET_USER_ID", "jhash": "0xE2E8B6BA", - "comment": "Needs more research. Seems to return \"STAT_UNKNOWN\" if no such user id exists.", + "comment": "Returns the rockstar ID (user id) value of a given stat. Returns \"STAT_UNKNOWN\" if the statHash is invalid or the stat has no userId", "params": [ { - "type": "Any", - "name": "p0" + "type": "Hash", + "name": "statHash" } ], "return_type": "const char*", @@ -86929,7 +86929,7 @@ "comment": "", "params": [ { - "type": "Any*", + "type": "const char*", "name": "p0" } ], @@ -87030,7 +87030,7 @@ "comment": "", "params": [ { - "type": "Any*", + "type": "const char*", "name": "p0" }, { @@ -87055,7 +87055,7 @@ "comment": "", "params": [ { - "type": "Any*", + "type": "const char*", "name": "p0" }, { @@ -87088,7 +87088,7 @@ "comment": "", "params": [ { - "type": "Any*", + "type": "const char*", "name": "p0" }, { @@ -87163,7 +87163,7 @@ "comment": "", "params": [ { - "type": "Any", + "type": "Vehicle", "name": "p0" }, { @@ -87171,11 +87171,11 @@ "name": "p1" }, { - "type": "Any", + "type": "int", "name": "p2" }, { - "type": "Any", + "type": "int", "name": "p3" }, { @@ -87384,7 +87384,7 @@ "comment": "", "params": [ { - "type": "Any", + "type": "int", "name": "p0" }, { @@ -87442,11 +87442,11 @@ "comment": "", "params": [ { - "type": "Any", + "type": "int", "name": "p0" }, { - "type": "Any", + "type": "BOOL", "name": "p1" } ], @@ -87459,15 +87459,15 @@ "comment": "This native does absolutely nothing, just a nullsub", "params": [ { - "type": "Any", - "name": "p0" + "type": "int", + "name": "totalTimeMs" }, { - "type": "Any", + "type": "int", "name": "p1" }, { - "type": "Any", + "type": "BOOL", "name": "p2" } ], @@ -87480,19 +87480,19 @@ "comment": "", "params": [ { - "type": "Any", + "type": "Ped", "name": "p0" }, { - "type": "Any", + "type": "int", "name": "p1" }, { - "type": "Any", + "type": "int", "name": "p2" }, { - "type": "Any", + "type": "int", "name": "p3" } ], @@ -87505,7 +87505,7 @@ "comment": "", "params": [ { - "type": "Any", + "type": "Ped", "name": "p0" }, { @@ -87686,7 +87686,7 @@ "params": [ { "type": "int", - "name": "time" + "name": "msStoodIdle" } ], "return_type": "void", @@ -88003,7 +88003,7 @@ "comment": "", "params": [ { - "type": "Any", + "type": "int", "name": "p0" }, { @@ -88020,15 +88020,15 @@ "comment": "", "params": [ { - "type": "Any", + "type": "int", "name": "p0" }, { - "type": "Any", + "type": "int", "name": "p1" }, { - "type": "Any", + "type": "int", "name": "p2" } ], @@ -88041,7 +88041,7 @@ "comment": "", "params": [ { - "type": "Any", + "type": "int", "name": "p0" }, { @@ -99925,12 +99925,12 @@ "comment": "", "params": [ { - "type": "Any", - "name": "p0" + "type": "Ped", + "name": "ped1" }, { - "type": "Any", - "name": "p1" + "type": "Ped", + "name": "ped2" }, { "type": "BOOL", @@ -99946,20 +99946,20 @@ "comment": "", "params": [ { - "type": "Any", - "name": "p0" + "type": "Ped", + "name": "ped" }, { "type": "float", - "name": "p1" + "name": "x" }, { "type": "float", - "name": "p2" + "name": "y" }, { "type": "float", - "name": "p3" + "name": "z" }, { "type": "BOOL", @@ -99975,19 +99975,19 @@ "comment": "", "params": [ { - "type": "Any", - "name": "p0" + "type": "Entity", + "name": "entity" }, { - "type": "Any", - "name": "p1" + "type": "Entity", + "name": "entity" }, { "type": "BOOL", "name": "p2" }, { - "type": "Any", + "type": "BOOL", "name": "p3" } ], @@ -100000,27 +100000,27 @@ "comment": "", "params": [ { - "type": "Any", - "name": "p0" + "type": "Ped", + "name": "ped" }, { "type": "float", - "name": "p1" + "name": "x" }, { "type": "float", - "name": "p2" + "name": "y" }, { "type": "float", - "name": "p3" + "name": "z" }, { "type": "BOOL", "name": "p4" }, { - "type": "Any", + "type": "BOOL", "name": "p5" } ], @@ -100033,8 +100033,8 @@ "comment": "", "params": [ { - "type": "Any", - "name": "p0" + "type": "Ped", + "name": "ped" } ], "return_type": "void", @@ -100112,7 +100112,7 @@ "0x3123FAA6DB1CF7ED": { "name": "TASK_VEHICLE_FOLLOW_WAYPOINT_RECORDING", "jhash": "0x959818B6", - "comment": "task_vehicle_follow_waypoint_recording(Ped p0, Vehicle p1, string p2, int p3, int p4, int p5, int p6, float.x p7, float.Y p8, float.Z p9, bool p10, int p11)\n\np2 = Waypoint recording string (found in update\\update.rpf\\x64\\levels\\gta5\\waypointrec.rpf\np3 = 786468\np4 = 0\np5 = 16\np6 = -1 (angle?)\np7/8/9 = usually v3.zero\np10 = bool (repeat?)\np11 = 1073741824\n\nFull list of waypoint recordings by DurtyFree: https://github.com/DurtyFree/gta-v-data-dumps/blob/master/waypointRecordings.json", + "comment": "\n\np2 = Waypoint recording string (found in update\\update.rpf\\x64\\levels\\gta5\\waypointrec.rpf\np3 = 786468\np4 = 0\np5 = 16\np6 = -1 (angle?)\np7/8/9 = usually v3.zero\np10 = bool (repeat?)\np11 = 1073741824\n\nFull list of waypoint recordings by DurtyFree: https://github.com/DurtyFree/gta-v-data-dumps/blob/master/waypointRecordings.json", "params": [ { "type": "Ped", @@ -101242,7 +101242,7 @@ }, { "type": "BOOL", - "name": "unk" + "name": "p2" } ], "return_type": "void", @@ -103004,7 +103004,7 @@ }, { "type": "BOOL", - "name": "unknown" + "name": "p3" } ], "return_type": "void", @@ -104701,20 +104701,20 @@ "comment": "", "params": [ { - "type": "Any", - "name": "p0" + "type": "Vehicle", + "name": "vehicle" }, { "type": "float", - "name": "p1" + "name": "x" }, { "type": "float", - "name": "p2" + "name": "y" }, { "type": "float", - "name": "p3" + "name": "z" } ], "return_type": "void", @@ -104726,20 +104726,20 @@ "comment": "", "params": [ { - "type": "Any", - "name": "p0" + "type": "Vehicle", + "name": "vehicle" }, { "type": "float", - "name": "p1" + "name": "x" }, { "type": "float", - "name": "p2" + "name": "y" }, { "type": "float", - "name": "p3" + "name": "z" } ], "return_type": "void", @@ -105373,7 +105373,7 @@ "0x8F17BC8BA08DA62B": { "name": "GET_VEHICLE_DIRT_LEVEL", "jhash": "0xFD15C065", - "comment": "Dirt level 0..15", + "comment": "Dirt level does not become greater than 15.0", "params": [ { "type": "Vehicle", @@ -106465,7 +106465,7 @@ }, { "type": "Any", - "name": "unk" + "name": "p6" } ], "return_type": "void", @@ -106758,12 +106758,12 @@ "comment": "", "params": [ { - "type": "Any", - "name": "p0" + "type": "Vehicle", + "name": "vehicle" }, { - "type": "Any", - "name": "p1" + "type": "BOOL", + "name": "toggle" } ], "return_type": "void", From af1d9160e8aaf8c03d4792e1eecf1e9e3afd104b Mon Sep 17 00:00:00 2001 From: Sainan <63328889+Sainan@users.noreply.github.com> Date: Fri, 11 Nov 2022 14:18:53 +0100 Subject: [PATCH 06/29] Documents arguments of SET_APPLY_WAYPOINT_OF_PLAYER --- natives.json | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/natives.json b/natives.json index c3b134a..d09b4b0 100755 --- a/natives.json +++ b/natives.json @@ -83126,12 +83126,12 @@ "comment": "", "params": [ { - "type": "Any", - "name": "p0" + "type": "Player", + "name": "player" }, { - "type": "Any", - "name": "p1" + "type": "int", + "name": "hudColor" } ], "return_type": "void", From f37f2ded31bbfaba9c17807780c58806e09e3b0f Mon Sep 17 00:00:00 2001 From: Alessandro <66976091+alessandromrc@users.noreply.github.com> Date: Fri, 11 Nov 2022 14:19:14 +0100 Subject: [PATCH 07/29] Added correct arguments for SET_PARTICLE_FX_SLIPSTREAM_LODRANGE_SCALE --- natives.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/natives.json b/natives.json index d09b4b0..5d6f5e9 100755 --- a/natives.json +++ b/natives.json @@ -22865,8 +22865,8 @@ "comment": "", "params": [ { - "type": "Any", - "name": "p0" + "type": "float", + "name": "scale" } ], "return_type": "void", From cd8a4d05d999c8effbf9967ab27038be177daae3 Mon Sep 17 00:00:00 2001 From: Sumire <67167154+Wildbrick142@users.noreply.github.com> Date: Sat, 12 Nov 2022 12:19:17 +0000 Subject: [PATCH 08/29] vehicle: update some old comments --- natives.json | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/natives.json b/natives.json index 5d6f5e9..7c2eabc 100755 --- a/natives.json +++ b/natives.json @@ -104819,7 +104819,7 @@ "0x0FC2D89AC25A5814": { "name": "SET_VEHICLE_MODEL_IS_SUPPRESSED", "jhash": "0x42A08C9B", - "comment": "seems to make the vehicle stop spawning naturally in traffic. Here's an essential example:\n\nVEHICLE::SET_VEHICLE_MODEL_IS_SUPPRESSED(MISC::GET_HASH_KEY(\"taco\"), true);\n\ngod I hate taco vans\n\nConfirmed to work? Needs to be looped? Can not get it to work.\nFull list of vehicles by DurtyFree: https://github.com/DurtyFree/gta-v-data-dumps/blob/master/vehicles.json", + "comment": "Makes the vehicle stop spawning naturally in traffic. Here's an essential example:\n\nVEHICLE::SET_VEHICLE_MODEL_IS_SUPPRESSED(MISC::GET_HASH_KEY(\"taco\"), true);\n\nFull list of vehicles by DurtyFree: https://github.com/DurtyFree/gta-v-data-dumps/blob/master/vehicles.json", "params": [ { "type": "Hash", @@ -106508,7 +106508,7 @@ "0x7EE3A3C5E4A40CC9": { "name": "SET_VEHICLE_EXTRA", "jhash": "0x642D065C", - "comment": "Note: only some vehicle have extras\nextra ids are from 1 - 9 depending on the vehicle\n\n-------------------------------------------------\n\n^ not sure if outdated or simply wrong. Max extra ID for b944 is 14\n\n-------------------------------------------------\np2 is not a on/off toggle. mostly 0 means on and 1 means off.\nnot sure if it really should be a BOOL.", + "comment": "Available extraIds are 1-14, however none of the vehicles have extras above 12.", "params": [ { "type": "Vehicle", @@ -107134,7 +107134,7 @@ "0xA6D3A8750DC73270": { "name": "SET_VEHICLE_LIVERY2", "jhash": "", - "comment": "Used to set the tornado custom (convertible) rooftop livery.\n\nLivery value that works for tornado custom is between 0 and 9 from what i can tell. Maybe 0-8 even.\n\nMight work on other custom vehicles but im not sure what those might be, only confirmed it working with the tornado custom.", + "comment": "Used to set the secondary livery (the roof on Tornado Custom being one such example.)\n\nLivery value is dependent on the amount of liveries present in the vehicle's texture dictionary, for Tornado Custom this would be 0-6.", "params": [ { "type": "Vehicle", @@ -107154,7 +107154,7 @@ "0x60190048C0764A26": { "name": "GET_VEHICLE_LIVERY2", "jhash": "", - "comment": "Returns index of the current vehicle's rooftop livery. A getter for _SET_VEHICLE_ROOF_LIVERY.", + "comment": "Returns index of the current vehicle's secondary livery. A getter for SET_VEHICLE_LIVERY2.", "params": [ { "type": "Vehicle", @@ -107170,7 +107170,7 @@ "0x5ECB40269053C0D4": { "name": "GET_VEHICLE_LIVERY2_COUNT", "jhash": "", - "comment": "Returns a number of available rooftop liveries, or -1 if vehicle has no rooftop liveries available.", + "comment": "Returns a number of available secondary liveries, or -1 if vehicle has no secondary liveries available.", "params": [ { "type": "Vehicle", @@ -107488,7 +107488,7 @@ "0xCFC8BE9A5E1FE575": { "name": "CONTROL_LANDING_GEAR", "jhash": "0x24F873FB", - "comment": "Works for vehicles with a retractable landing gear\n\nlanding gear states:\n\n0: Deployed\n1: Closing\n2: Opening\n3: Retracted\n\nwhat can I use to make the hydra thing forward?", + "comment": "Works for vehicles with a retractable landing gear\n\nLanding gear states:\n\n0: Deployed\n1: Closing\n2: Opening\n3: Retracted", "params": [ { "type": "Vehicle", @@ -107508,7 +107508,7 @@ "0x9B0F3DCA3DB0F4CD": { "name": "GET_LANDING_GEAR_STATE", "jhash": "0xA6F02670", - "comment": "Landing gear states:\n\n0: Deployed\n1: Closing (Retracting)\n2:(Landing gear state 2 is never used.)\n3: Opening (Deploying)\n4: Retracted\n\nReturns the current state of the vehicles landing gear.", + "comment": "Landing gear states:\n\n0: Deployed\n1: Closing (Retracting)\n2: (Landing gear state 2 is never used.)\n3: Opening (Deploying)\n4: Retracted\n\nReturns the current state of the vehicles landing gear.", "params": [ { "type": "Vehicle", @@ -109164,7 +109164,7 @@ "0xB4C7A93837C91A1F": { "name": "GET_LIVERY_NAME", "jhash": "0xED80B5BE", - "comment": "Second Param = LiveryIndex\n\nexample \n\nint count = VEHICLE::GET_VEHICLE_LIVERY_COUNT(veh);\nfor (int i = 0; i < count; i++) \n {\n const char* LiveryName = VEHICLE::GET_LIVERY_NAME(veh, i);\n }\n\n\nthis example will work fine to fetch all names \nfor example for Sanchez we get \n\nSANC_LV1\nSANC_LV2\nSANC_LV3\nSANC_LV4\nSANC_LV5\n\n\nUse GET_FILENAME_FOR_AUDIO_CONVERSATION, to get the localized livery name.\n\nFull list of vehicle mod kits and mods by DurtyFree: https://github.com/DurtyFree/gta-v-data-dumps/blob/master/vehicleModKits.json", + "comment": "Returns the text label of the vehicle's liveryIndex, as specified by the liveryNames section of the vehicle's modkit data in the carcols file.\n\nexample \n\nint count = VEHICLE::GET_VEHICLE_LIVERY_COUNT(veh);\nfor (int i = 0; i < count; i++) \n {\n const char* LiveryName = VEHICLE::GET_LIVERY_NAME(veh, i);\n }\n\n\nthis example will work fine to fetch all names \nfor example for Sanchez we get \n\nSANC_LV1\nSANC_LV2\nSANC_LV3\nSANC_LV4\nSANC_LV5\n\n\nUse GET_FILENAME_FOR_AUDIO_CONVERSATION, to get the localized livery name.\n\nFull list of vehicle mod kits and mods by DurtyFree: https://github.com/DurtyFree/gta-v-data-dumps/blob/master/vehicleModKits.json", "params": [ { "type": "Vehicle", @@ -109273,7 +109273,7 @@ "0xB5BA80F839791C0F": { "name": "SET_VEHICLE_TYRE_SMOKE_COLOR", "jhash": "0x3EDEC0DB", - "comment": "Sets the tire smoke's color of this vehicle.\n\nvehicle: The vehicle that is the target of this method.\nr: The red level in the RGB color code.\ng: The green level in the RGB color code.\nb: The blue level in the RGB color code.\n\nNote:\nsetting r,g,b to 0 will give the car independance day tyre smoke", + "comment": "Sets the tire smoke's color of this vehicle.\n\nvehicle: The vehicle that is the target of this method.\nr: The red level in the RGB color code.\ng: The green level in the RGB color code.\nb: The blue level in the RGB color code.\n\nNote: setting r,g,b to 0 will give the car the \"Patriot\" tire smoke.", "params": [ { "type": "Vehicle", From 210afe72ee3fc6e156db3e44e88fcb7bf68340c0 Mon Sep 17 00:00:00 2001 From: yasmasdas <114929405+yasmasdas@users.noreply.github.com> Date: Sat, 12 Nov 2022 13:20:33 +0100 Subject: [PATCH 09/29] update viewmode descriptions --- natives.json | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/natives.json b/natives.json index 7c2eabc..b1cffcc 100755 --- a/natives.json +++ b/natives.json @@ -7929,7 +7929,7 @@ "0x8D4D46230B2C353A": { "name": "GET_FOLLOW_PED_CAM_VIEW_MODE", "jhash": "0xA65FF946", - "comment": "Returns\n0 - Third Person Close\n1 - Third Person Mid\n2 - Third Person Far\n4 - First Person", + "comment": "See viewmode enum in CAM.GET_FOLLOW_VEHICLE_CAM_VIEW_MODE for return value", "params": [], "return_type": "int", "build": "323" @@ -8025,7 +8025,7 @@ "0xA4FF579AC0E3AAAE": { "name": "GET_FOLLOW_VEHICLE_CAM_VIEW_MODE", "jhash": "0xA4B4DB03", - "comment": "Returns the type of camera:\n\n0 - Third Person Close\n1 - Third Person Mid\n2 - Third Person Far\n4 - First Person", + "comment": "Returns the type of camera:\n\nenum _viewmode //0xA11D7CA8\n{\n\tTHIRD_PERSON_NEAR = 0,\n\tTHIRD_PERSON_MEDIUM = 1,\n\tTHIRD_PERSON_FAR = 2,\n\tCINEMATIC = 3,\n\tFIRST_PERSON = 4\n};", "params": [], "return_type": "int", "build": "323" @@ -8033,7 +8033,7 @@ "0xAC253D7842768F48": { "name": "SET_FOLLOW_VEHICLE_CAM_VIEW_MODE", "jhash": "0xC4FBBBD3", - "comment": "Sets the type of Player camera in vehicles:\n\n0 - Third Person Close\n1 - Third Person Mid\n2 - Third Person Far\n4 - First Person", + "comment": "Sets the type of Player camera in vehicles:\nviewmode: see CAM.GET_FOLLOW_VEHICLE_CAM_VIEW_MODE", "params": [ { "type": "int", @@ -8059,7 +8059,7 @@ "0x2A2173E46DAECD12": { "name": "SET_CAM_VIEW_MODE_FOR_CONTEXT", "jhash": "0x1DEBCB45", - "comment": "context: see _GET_CAM_ACTIVE_VIEW_MODE_CONTEXT", + "comment": "context: see _GET_CAM_ACTIVE_VIEW_MODE_CONTEXT, viewmode: see CAM.GET_FOLLOW_VEHICLE_CAM_VIEW_MODE", "params": [ { "type": "int", From 3fe66d89509ccfe713ab83f64537f5002d3a34fc Mon Sep 17 00:00:00 2001 From: slavexe <69091521+slavexe@users.noreply.github.com> Date: Mon, 21 Nov 2022 09:27:36 -0600 Subject: [PATCH 10/29] misc natives --- natives.json | 158 +++++++++++++++++++++++++-------------------------- 1 file changed, 79 insertions(+), 79 deletions(-) diff --git a/natives.json b/natives.json index b1cffcc..aa8d13e 100755 --- a/natives.json +++ b/natives.json @@ -1165,11 +1165,11 @@ "0x7345BDD95E62E0F2": { "name": "REQUEST_MISSION_AUDIO_BANK", "jhash": "0x916E37CA", - "comment": "All occurrences and usages found in b617d: https://pastebin.com/NzZZ2Tmm\nFull list of mission audio bank names by DurtyFree https://github.com/DurtyFree/gta-v-data-dumps/blob/master/missionAudioBankNames.json", + "comment": "All occurrences and usages found in b617d: https://pastebin.com/NzZZ2Tmm\nFull list of mission audio bank names by DurtyFree https://github.com/DurtyFree/gta-v-data-dumps/blob/master/missionAudioBankNames.json\np2 is always -1", "params": [ { "type": "const char*", - "name": "p0" + "name": "audioBank" }, { "type": "BOOL", @@ -1186,11 +1186,11 @@ "0xFE02FFBED8CA9D99": { "name": "REQUEST_AMBIENT_AUDIO_BANK", "jhash": "0x23C88BC7", - "comment": "All occurrences and usages found in b617d, sorted alphabetically and identical lines removed: https://pastebin.com/XZ1tmGEz\nFull list of ambient audio bank names by DurtyFree https://github.com/DurtyFree/gta-v-data-dumps/blob/master/ambientAudioBankNames.json", + "comment": "All occurrences and usages found in b617d, sorted alphabetically and identical lines removed: https://pastebin.com/XZ1tmGEz\nFull list of ambient audio bank names by DurtyFree https://github.com/DurtyFree/gta-v-data-dumps/blob/master/ambientAudioBankNames.json\np2 is always -1", "params": [ { "type": "const char*", - "name": "p0" + "name": "audioBank" }, { "type": "BOOL", @@ -1207,18 +1207,18 @@ "0x2F844A8B08D76685": { "name": "REQUEST_SCRIPT_AUDIO_BANK", "jhash": "0x21322887", - "comment": "All occurrences and usages found in b617d, sorted alphabetically and identical lines removed: https://pastebin.com/AkmDAVn6\nFull list of script audio bank names by DurtyFree https://github.com/DurtyFree/gta-v-data-dumps/blob/master/scriptAudioBankNames.json", + "comment": "All occurrences and usages found in b617d, sorted alphabetically and identical lines removed: https://pastebin.com/AkmDAVn6\nFull list of script audio bank names by DurtyFree https://github.com/DurtyFree/gta-v-data-dumps/blob/master/scriptAudioBankNames.json\np2 is always -1", "params": [ { "type": "const char*", - "name": "p0" + "name": "audioBank" }, { "type": "BOOL", "name": "p1" }, { - "type": "int", + "type": "Any", "name": "p2" } ], @@ -1228,14 +1228,14 @@ "0x40763EA7B9B783E7": { "name": "HINT_MISSION_AUDIO_BANK", "jhash": "", - "comment": "", + "comment": "p2 is always -1", "params": [ { "type": "const char*", - "name": "p0" + "name": "audioBank" }, { - "type": "Any", + "type": "BOOL", "name": "p1" }, { @@ -1249,14 +1249,14 @@ "0x8F8C0E370AE62F5C": { "name": "HINT_AMBIENT_AUDIO_BANK", "jhash": "0xF1850DDC", - "comment": "", + "comment": "p2 is always -1", "params": [ { "type": "const char*", - "name": "p0" + "name": "audioBank" }, { - "type": "Any", + "type": "BOOL", "name": "p1" }, { @@ -1270,14 +1270,14 @@ "0xFB380A29641EC31A": { "name": "HINT_SCRIPT_AUDIO_BANK", "jhash": "0x41FA0E51", - "comment": "", + "comment": "p2 is always -1", "params": [ { "type": "const char*", - "name": "p0" + "name": "audioBank" }, { - "type": "Any", + "type": "BOOL", "name": "p1" }, { @@ -1347,8 +1347,8 @@ "comment": "", "params": [ { - "type": "Any", - "name": "p0" + "type": "const char*", + "name": "audioBank" } ], "return_type": "void", @@ -1486,7 +1486,7 @@ "0x5B9853296731E88D": { "name": "PLAY_SOUND_FROM_ENTITY_HASH", "jhash": "", - "comment": "p2 is Entity?", + "comment": "Only used with \"formation_flying_blips_soundset\" and \"biker_formation_blips_soundset\".\np1 is always the model of p2", "params": [ { "type": "int", @@ -1494,15 +1494,15 @@ }, { "type": "Hash", - "name": "p1" + "name": "model" }, { - "type": "Any", - "name": "p2" + "type": "Entity", + "name": "entity" }, { "type": "Hash", - "name": "soundNameHash" + "name": "soundSetHash" }, { "type": "Any", @@ -1925,7 +1925,7 @@ "params": [ { "type": "const char*", - "name": "p0" + "name": "mode" } ], "return_type": "void", @@ -3127,8 +3127,8 @@ "comment": "", "params": [ { - "type": "Any*", - "name": "p0" + "type": "const char*", + "name": "ambientZone" }, { "type": "BOOL", @@ -3148,8 +3148,8 @@ "comment": "", "params": [ { - "type": "Any*", - "name": "p0" + "type": "const char*", + "name": "ambientZone" }, { "type": "BOOL", @@ -4704,11 +4704,11 @@ "0xC7ABCACA4985A766": { "name": "PREPARE_SYNCHRONIZED_AUDIO_EVENT", "jhash": "0xE1D91FD0", - "comment": "", + "comment": "p1 is always 0 in the scripts", "params": [ { "type": "const char*", - "name": "p0" + "name": "audioEvent" }, { "type": "Any", @@ -4724,12 +4724,12 @@ "comment": "", "params": [ { - "type": "Any", - "name": "p0" + "type": "int", + "name": "sceneID" }, { - "type": "Any*", - "name": "p1" + "type": "const char*", + "name": "audioEvent" } ], "return_type": "BOOL", @@ -4741,8 +4741,8 @@ "comment": "", "params": [ { - "type": "Any", - "name": "p0" + "type": "int", + "name": "sceneID" } ], "return_type": "BOOL", @@ -4754,8 +4754,8 @@ "comment": "", "params": [ { - "type": "Any", - "name": "p0" + "type": "int", + "name": "sceneID" } ], "return_type": "BOOL", @@ -4767,8 +4767,8 @@ "comment": "", "params": [ { - "type": "Any*", - "name": "p0" + "type": "const char*", + "name": "audioEvent" }, { "type": "float", @@ -4793,11 +4793,11 @@ "params": [ { "type": "const char*", - "name": "p0" + "name": "audioEvent" }, { "type": "Entity", - "name": "p1" + "name": "entity" } ], "return_type": "void", @@ -10196,15 +10196,15 @@ }, { "type": "int", - "name": "p1" + "name": "componentId" }, { "type": "int", - "name": "p2" + "name": "drawableId" }, { "type": "int", - "name": "p3" + "name": "textureId" }, { "type": "Hash", @@ -10263,15 +10263,15 @@ }, { "type": "int", - "name": "p1" + "name": "componentId" }, { "type": "int", - "name": "p2" + "name": "drawableId" }, { "type": "int", - "name": "p3" + "name": "textureId" }, { "type": "Hash", @@ -34350,8 +34350,8 @@ "comment": "", "params": [ { - "type": "Any", - "name": "p0" + "type": "BOOL", + "name": "toggle" } ], "return_type": "void", @@ -99697,23 +99697,23 @@ "comment": "", "params": [ { - "type": "Any", - "name": "p0" + "type": "Ped", + "name": "ped" }, { - "type": "Any", - "name": "p1" + "type": "const char*", + "name": "name" }, { - "type": "Any", + "type": "int", "name": "p2" }, { - "type": "Any", + "type": "int", "name": "p3" }, { - "type": "Any", + "type": "int", "name": "p4" } ], @@ -99726,8 +99726,8 @@ "comment": "", "params": [ { - "type": "Any", - "name": "p0" + "type": "Ped", + "name": "ped" } ], "return_type": "BOOL", @@ -99765,20 +99765,20 @@ "comment": "", "params": [ { - "type": "Any", - "name": "p0" + "type": "Ped", + "name": "ped" }, { - "type": "Any", - "name": "p1" + "type": "float", + "name": "x" }, { - "type": "Any", - "name": "p2" + "type": "float", + "name": "y" }, { - "type": "Any", - "name": "p3" + "type": "float", + "name": "z" } ], "return_type": "BOOL", @@ -99791,11 +99791,11 @@ "params": [ { "type": "const char*", - "name": "p0" + "name": "name" }, { "type": "int", - "name": "p1" + "name": "point" } ], "return_type": "float", @@ -99926,11 +99926,11 @@ "params": [ { "type": "Ped", - "name": "ped1" + "name": "ped" }, { "type": "Ped", - "name": "ped2" + "name": "target" }, { "type": "BOOL", @@ -99975,12 +99975,12 @@ "comment": "", "params": [ { - "type": "Entity", - "name": "entity" + "type": "Ped", + "name": "ped" }, { - "type": "Entity", - "name": "entity" + "type": "Ped", + "name": "ped" }, { "type": "BOOL", @@ -100020,8 +100020,8 @@ "name": "p4" }, { - "type": "BOOL", - "name": "p5" + "type": "Hash", + "name": "firingPattern" } ], "return_type": "void", @@ -114650,7 +114650,7 @@ "params": [ { "type": "int", - "name": "p0" + "name": "calmingQuad" } ], "return_type": "void", @@ -114695,7 +114695,7 @@ "params": [ { "type": "float", - "name": "p0" + "name": "height" } ], "return_type": "void", From ebbd6a1da64953be13fcd2c35d4d75b4f495e602 Mon Sep 17 00:00:00 2001 From: Reece Watson <45642596+SkiddyToast@users.noreply.github.com> Date: Mon, 21 Nov 2022 10:27:45 -0500 Subject: [PATCH 11/29] Update ePedConfigFlags --- natives.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/natives.json b/natives.json index aa8d13e..03e1660 100755 --- a/natives.json +++ b/natives.json @@ -75385,7 +75385,7 @@ "0x1913FE4CBF41C463": { "name": "SET_PED_CONFIG_FLAG", "jhash": "0x9CFBE10D", - "comment": "enum ePedConfigFlags\n{\n\t_CPED_CONFIG_FLAG_0x67D1A445 = 0,\n\t_CPED_CONFIG_FLAG_0xC63DE95E = 1,\n\tCPED_CONFIG_FLAG_NoCriticalHits = 2,\n\tCPED_CONFIG_FLAG_DrownsInWater = 3,\n\tCPED_CONFIG_FLAG_DisableReticuleFixedLockon = 4,\n\t_CPED_CONFIG_FLAG_0x37D196F4 = 5,\n\t_CPED_CONFIG_FLAG_0xE2462399 = 6,\n\tCPED_CONFIG_FLAG_UpperBodyDamageAnimsOnly = 7,\n\t_CPED_CONFIG_FLAG_0xEDDEB838 = 8,\n\t_CPED_CONFIG_FLAG_0xB398B6FD = 9,\n\t_CPED_CONFIG_FLAG_0xF6664E68 = 10,\n\t_CPED_CONFIG_FLAG_0xA05E7CA3 = 11,\n\t_CPED_CONFIG_FLAG_0xCE394045 = 12,\n\tCPED_CONFIG_FLAG_NeverLeavesGroup = 13,\n\t_CPED_CONFIG_FLAG_0xCD8D1411 = 14,\n\t_CPED_CONFIG_FLAG_0xB031F1A9 = 15,\n\t_CPED_CONFIG_FLAG_0xFE65BEE3 = 16,\n\tCPED_CONFIG_FLAG_BlockNonTemporaryEvents = 17,\n\t_CPED_CONFIG_FLAG_0x380165BD = 18,\n\t_CPED_CONFIG_FLAG_0x07C045C7 = 19,\n\t_CPED_CONFIG_FLAG_0x583B5E2D = 20,\n\t_CPED_CONFIG_FLAG_0x475EDA58 = 21,\n\t_CPED_CONFIG_FLAG_0x8629D05B = 22,\n\t_CPED_CONFIG_FLAG_0x1522968B = 23,\n\tCPED_CONFIG_FLAG_IgnoreSeenMelee = 24,\n\t_CPED_CONFIG_FLAG_0x4CC09C4B = 25,\n\t_CPED_CONFIG_FLAG_0x034F3053 = 26,\n\t_CPED_CONFIG_FLAG_0xD91BA7CC = 27,\n\t_CPED_CONFIG_FLAG_0x5C8DC66E = 28,\n\t_CPED_CONFIG_FLAG_0x8902EAA0 = 29,\n\t_CPED_CONFIG_FLAG_0x6580B9D2 = 30,\n\t_CPED_CONFIG_FLAG_0x0EF7A297 = 31,\n\t_CPED_CONFIG_FLAG_CanFlyThruWindscreen = 32, // 0x6BF86E5B\n\tCPED_CONFIG_FLAG_DieWhenRagdoll = 33,\n\tCPED_CONFIG_FLAG_HasHelmet = 34,\n\tCPED_CONFIG_FLAG_UseHelmet = 35,\n\t_CPED_CONFIG_FLAG_0xEEB3D630 = 36,\n\t_CPED_CONFIG_FLAG_0xB130D17B = 37,\n\t_CPED_CONFIG_FLAG_0x5F071200 = 38,\n\tCPED_CONFIG_FLAG_DisableEvasiveDives = 39,\n\t_CPED_CONFIG_FLAG_0xC287AAFF = 40,\n\t_CPED_CONFIG_FLAG_0x203328CC = 41,\n\tCPED_CONFIG_FLAG_DontInfluenceWantedLevel = 42,\n\tCPED_CONFIG_FLAG_DisablePlayerLockon = 43,\n\tCPED_CONFIG_FLAG_DisableLockonToRandomPeds = 44,\n\t_CPED_CONFIG_FLAG_0xEC4A8ACF = 45,\n\t_CPED_CONFIG_FLAG_0xDB115BFA = 46,\n\tCPED_CONFIG_FLAG_PedBeingDeleted = 47,\n\tCPED_CONFIG_FLAG_BlockWeaponSwitching = 48,\n\t_CPED_CONFIG_FLAG_0xF8E99565 = 49,\n\t_CPED_CONFIG_FLAG_0xDD17FEE6 = 50,\n\t_CPED_CONFIG_FLAG_0x7ED9B2C9 = 51,\n\t_CPED_CONFIG_FLAG_NoCollison = 52, // 0x655E8618\n\t_CPED_CONFIG_FLAG_0x5A6C1F6E = 53,\n\t_CPED_CONFIG_FLAG_0xD749FC41 = 54,\n\t_CPED_CONFIG_FLAG_0x357F63F3 = 55,\n\t_CPED_CONFIG_FLAG_0xC5E60961 = 56,\n\t_CPED_CONFIG_FLAG_0x29275C3E = 57,\n\tCPED_CONFIG_FLAG_IsFiring = 58,\n\tCPED_CONFIG_FLAG_WasFiring = 59,\n\tCPED_CONFIG_FLAG_IsStanding = 60,\n\tCPED_CONFIG_FLAG_WasStanding = 61,\n\tCPED_CONFIG_FLAG_InVehicle = 62,\n\tCPED_CONFIG_FLAG_OnMount = 63,\n\tCPED_CONFIG_FLAG_AttachedToVehicle = 64,\n\tCPED_CONFIG_FLAG_IsSwimming = 65,\n\tCPED_CONFIG_FLAG_WasSwimming = 66,\n\tCPED_CONFIG_FLAG_IsSkiing = 67,\n\tCPED_CONFIG_FLAG_IsSitting = 68,\n\tCPED_CONFIG_FLAG_KilledByStealth = 69,\n\tCPED_CONFIG_FLAG_KilledByTakedown = 70,\n\tCPED_CONFIG_FLAG_Knockedout = 71,\n\t_CPED_CONFIG_FLAG_0x3E3C4560 = 72,\n\t_CPED_CONFIG_FLAG_0x2994C7B7 = 73,\n\t_CPED_CONFIG_FLAG_0x6D59D275 = 74,\n\tCPED_CONFIG_FLAG_UsingCoverPoint = 75,\n\tCPED_CONFIG_FLAG_IsInTheAir = 76,\n\t_CPED_CONFIG_FLAG_0x2D493FB7 = 77,\n\tCPED_CONFIG_FLAG_IsAimingGun = 78,\n\t_CPED_CONFIG_FLAG_0x14D69875 = 79,\n\t_CPED_CONFIG_FLAG_0x40B05311 = 80,\n\t_CPED_CONFIG_FLAG_0x8B230BC5 = 81,\n\t_CPED_CONFIG_FLAG_0xC74E5842 = 82,\n\t_CPED_CONFIG_FLAG_0x9EA86147 = 83,\n\t_CPED_CONFIG_FLAG_0x674C746C = 84,\n\t_CPED_CONFIG_FLAG_0x3E56A8C2 = 85,\n\t_CPED_CONFIG_FLAG_0xC144A1EF = 86,\n\t_CPED_CONFIG_FLAG_0x0548512D = 87,\n\t_CPED_CONFIG_FLAG_0x31C93909 = 88,\n\t_CPED_CONFIG_FLAG_0xA0269315 = 89,\n\t_CPED_CONFIG_FLAG_0xD4D59D4D = 90,\n\t_CPED_CONFIG_FLAG_0x411D4420 = 91,\n\t_CPED_CONFIG_FLAG_0xDF4AEF0D = 92,\n\tCPED_CONFIG_FLAG_ForcePedLoadCover = 93,\n\t_CPED_CONFIG_FLAG_0x300E4CD3 = 94,\n\t_CPED_CONFIG_FLAG_0xF1C5BF04 = 95,\n\t_CPED_CONFIG_FLAG_0x89C2EF13 = 96,\n\tCPED_CONFIG_FLAG_VaultFromCover = 97,\n\t_CPED_CONFIG_FLAG_0x02A852C8 = 98,\n\t_CPED_CONFIG_FLAG_0x3D9407F1 = 99,\n\t_CPED_CONFIG_FLAG_IsDrunk = 100, // 0x319B4558\n\tCPED_CONFIG_FLAG_ForcedAim = 101,\n\t_CPED_CONFIG_FLAG_0xB942D71A = 102,\n\t_CPED_CONFIG_FLAG_0xD26C55A8 = 103,\n\t_CPED_CONFIG_FLAG_0xB89E703B = 104,\n\tCPED_CONFIG_FLAG_ForceReload = 105,\n\t_CPED_CONFIG_FLAG_0xD9E73DA2 = 106,\n\t_CPED_CONFIG_FLAG_0xFF71DC2C = 107,\n\t_CPED_CONFIG_FLAG_0x1E27E8D8 = 108,\n\t_CPED_CONFIG_FLAG_0xF2C53966 = 109,\n\t_CPED_CONFIG_FLAG_0xC4DBE247 = 110,\n\t_CPED_CONFIG_FLAG_0x83C0A4BF = 111,\n\t_CPED_CONFIG_FLAG_0x0E0FAF8C = 112,\n\t_CPED_CONFIG_FLAG_0x26616660 = 113,\n\t_CPED_CONFIG_FLAG_0x43B80B79 = 114,\n\t_CPED_CONFIG_FLAG_0x0D2A9309 = 115,\n\t_CPED_CONFIG_FLAG_0x12C1C983 = 116,\n\tCPED_CONFIG_FLAG_BumpedByPlayer = 117,\n\t_CPED_CONFIG_FLAG_0xE586D504 = 118,\n\t_CPED_CONFIG_FLAG_0x52374204 = 119,\n\tCPED_CONFIG_FLAG_IsHandCuffed = 120,\n\tCPED_CONFIG_FLAG_IsAnkleCuffed = 121,\n\tCPED_CONFIG_FLAG_DisableMelee = 122,\n\t_CPED_CONFIG_FLAG_0xFE714397 = 123,\n\t_CPED_CONFIG_FLAG_0xB3E660BD = 124,\n\t_CPED_CONFIG_FLAG_0x5FED6BFD = 125,\n\t_CPED_CONFIG_FLAG_0xC9D6F66F = 126,\n\t_CPED_CONFIG_FLAG_0x519BC986 = 127,\n\tCPED_CONFIG_FLAG_CanBeAgitated = 128,\n\t_CPED_CONFIG_FLAG_0x9A4B617C = 129,\n\t_CPED_CONFIG_FLAG_0xDAB70E9F = 130,\n\t_CPED_CONFIG_FLAG_0xE569438A = 131,\n\t_CPED_CONFIG_FLAG_0xBBC77D6D = 132,\n\t_CPED_CONFIG_FLAG_0xCB59EF0F = 133,\n\t_CPED_CONFIG_FLAG_0x8C5EA971 = 134,\n\tCPED_CONFIG_FLAG_IsScuba = 135,\n\tCPED_CONFIG_FLAG_WillArrestRatherThanJack = 136,\n\t_CPED_CONFIG_FLAG_0xDCE59B58 = 137,\n\tCPED_CONFIG_FLAG_RidingTrain = 138,\n\tCPED_CONFIG_FLAG_ArrestResult = 139,\n\tCPED_CONFIG_FLAG_CanAttackFriendly = 140,\n\t_CPED_CONFIG_FLAG_0x98A4BE43 = 141,\n\t_CPED_CONFIG_FLAG_0x6901E731 = 142,\n\t_CPED_CONFIG_FLAG_0x9EC9BF6C = 143,\n\t_CPED_CONFIG_FLAG_0x42841A8F = 144,\n\tCPED_CONFIG_FLAG_ShootingAnimFlag = 145,\n\tCPED_CONFIG_FLAG_DisableLadderClimbing = 146,\n\tCPED_CONFIG_FLAG_StairsDetected = 147,\n\tCPED_CONFIG_FLAG_SlopeDetected = 148,\n\t_CPED_CONFIG_FLAG_0x1A15670B = 149,\n\t_CPED_CONFIG_FLAG_0x61786EE5 = 150,\n\t_CPED_CONFIG_FLAG_0xCB9186BD = 151,\n\t_CPED_CONFIG_FLAG_0xF0710152 = 152,\n\t_CPED_CONFIG_FLAG_0x43DFE310 = 153,\n\t_CPED_CONFIG_FLAG_0xC43C624E = 154,\n\tCPED_CONFIG_FLAG_CanPerformArrest = 155,\n\tCPED_CONFIG_FLAG_CanPerformUncuff = 156,\n\tCPED_CONFIG_FLAG_CanBeArrested = 157,\n\t_CPED_CONFIG_FLAG_0xF7960FF5 = 158,\n\t_CPED_CONFIG_FLAG_0x59564113 = 159,\n\t_CPED_CONFIG_FLAG_0x0C6C3099 = 160,\n\t_CPED_CONFIG_FLAG_0x645F927A = 161,\n\t_CPED_CONFIG_FLAG_0xA86549B9 = 162,\n\t_CPED_CONFIG_FLAG_0x8AAF337A = 163,\n\t_CPED_CONFIG_FLAG_0x13BAA6E7 = 164,\n\t_CPED_CONFIG_FLAG_0x5FB9D1F5 = 165,\n\tCPED_CONFIG_FLAG_IsInjured = 166,\n\t_CPED_CONFIG_FLAG_0x6398A20B = 167,\n\t_CPED_CONFIG_FLAG_0xD8072639 = 168,\n\t_CPED_CONFIG_FLAG_0xA05B1845 = 169,\n\t_CPED_CONFIG_FLAG_0x83F6D220 = 170,\n\t_CPED_CONFIG_FLAG_0xD8430331 = 171,\n\t_CPED_CONFIG_FLAG_0x4B547520 = 172,\n\t_CPED_CONFIG_FLAG_0xE66E1406 = 173,\n\t_CPED_CONFIG_FLAG_0x1C4BFE0C = 174,\n\t_CPED_CONFIG_FLAG_0x90008BFA = 175,\n\t_CPED_CONFIG_FLAG_0x07C7A910 = 176,\n\t_CPED_CONFIG_FLAG_0xF15F8191 = 177,\n\t_CPED_CONFIG_FLAG_0xCE4E8BE2 = 178,\n\t_CPED_CONFIG_FLAG_0x1D46E4F2 = 179,\n\tCPED_CONFIG_FLAG_IsInCustody = 180,\n\t_CPED_CONFIG_FLAG_0xE4FD9B3A = 181,\n\t_CPED_CONFIG_FLAG_0x67AE0812 = 182,\n\tCPED_CONFIG_FLAG_IsAgitated = 183,\n\tCPED_CONFIG_FLAG_PreventAutoShuffleToDriversSeat = 184,\n\t_CPED_CONFIG_FLAG_0x7B2D325E = 185,\n\tCPED_CONFIG_FLAG_EnableWeaponBlocking = 186,\n\tCPED_CONFIG_FLAG_HasHurtStarted = 187,\n\tCPED_CONFIG_FLAG_DisableHurt = 188,\n\tCPED_CONFIG_FLAG_PlayerIsWeird = 189,\n\t_CPED_CONFIG_FLAG_0x32FC208B = 190,\n\t_CPED_CONFIG_FLAG_0x0C296E5A = 191,\n\t_CPED_CONFIG_FLAG_0xE63B73EC = 192,\n\t_CPED_CONFIG_FLAG_0x04E9CC80 = 193,\n\tCPED_CONFIG_FLAG_UsingScenario = 194,\n\tCPED_CONFIG_FLAG_VisibleOnScreen = 195,\n\t_CPED_CONFIG_FLAG_0xD88C58A1 = 196,\n\t_CPED_CONFIG_FLAG_0x5A3DCF43 = 197,\n\t_CPED_CONFIG_FLAG_0xEA02B420 = 198,\n\t_CPED_CONFIG_FLAG_0x3F559CFF = 199,\n\t_CPED_CONFIG_FLAG_0x8C55D029 = 200,\n\t_CPED_CONFIG_FLAG_0x5E6466F6 = 201,\n\t_CPED_CONFIG_FLAG_0xEB5AD706 = 202,\n\t_CPED_CONFIG_FLAG_0x0EDDDDE7 = 203,\n\t_CPED_CONFIG_FLAG_0xA64F7B1D = 204,\n\t_CPED_CONFIG_FLAG_0x48532CBA = 205,\n\t_CPED_CONFIG_FLAG_0xAA25A9E7 = 206,\n\t_CPED_CONFIG_FLAG_0x415B26B9 = 207,\n\tCPED_CONFIG_FLAG_DisableExplosionReactions = 208,\n\tCPED_CONFIG_FLAG_DodgedPlayer = 209,\n\t_CPED_CONFIG_FLAG_0x67405504 = 210,\n\t_CPED_CONFIG_FLAG_0x75DDD68C = 211,\n\t_CPED_CONFIG_FLAG_0x2AD879B4 = 212,\n\t_CPED_CONFIG_FLAG_0x51486F91 = 213,\n\t_CPED_CONFIG_FLAG_0x32F79E21 = 214,\n\t_CPED_CONFIG_FLAG_0xBF099213 = 215,\n\t_CPED_CONFIG_FLAG_0x054AC8E2 = 216,\n\t_CPED_CONFIG_FLAG_0x14E495CC = 217,\n\t_CPED_CONFIG_FLAG_0x3C7DF9DF = 218,\n\t_CPED_CONFIG_FLAG_0x848FFEF2 = 219,\n\tCPED_CONFIG_FLAG_DontEnterLeadersVehicle = 220,\n\t_CPED_CONFIG_FLAG_0x2618E1CF = 221,\n\t_CPED_CONFIG_FLAG_0x84F722FA = 222,\n\t_CPED_CONFIG_FLAG_Shrink = 223, // 0xD1B87B1F\n\t_CPED_CONFIG_FLAG_0x728AA918 = 224,\n\tCPED_CONFIG_FLAG_DisablePotentialToBeWalkedIntoResponse = 225,\n\tCPED_CONFIG_FLAG_DisablePedAvoidance = 226,\n\t_CPED_CONFIG_FLAG_0x59E91185 = 227,\n\t_CPED_CONFIG_FLAG_0x1EA7225F = 228,\n\tCPED_CONFIG_FLAG_DisablePanicInVehicle = 229,\n\t_CPED_CONFIG_FLAG_0x6DCA7D88 = 230,\n\t_CPED_CONFIG_FLAG_0xFC3E572D = 231,\n\t_CPED_CONFIG_FLAG_0x08E9F9CF = 232,\n\t_CPED_CONFIG_FLAG_0x2D3BA52D = 233,\n\t_CPED_CONFIG_FLAG_0xFD2F53EA = 234,\n\t_CPED_CONFIG_FLAG_0x31A1B03B = 235,\n\tCPED_CONFIG_FLAG_IsHoldingProp = 236,\n\tCPED_CONFIG_FLAG_BlocksPathingWhenDead = 237,\n\t_CPED_CONFIG_FLAG_0xCE57C9A3 = 238,\n\t_CPED_CONFIG_FLAG_0x26149198 = 239,\n\t_CPED_CONFIG_FLAG_0x1B33B598 = 240,\n\t_CPED_CONFIG_FLAG_0x719B6E87 = 241,\n\t_CPED_CONFIG_FLAG_0x13E8E8E8 = 242,\n\t_CPED_CONFIG_FLAG_0xF29739AE = 243,\n\t_CPED_CONFIG_FLAG_0xABEA8A74 = 244,\n\t_CPED_CONFIG_FLAG_0xB60EA2BA = 245,\n\t_CPED_CONFIG_FLAG_0x536B0950 = 246,\n\t_CPED_CONFIG_FLAG_0x0C754ACA = 247,\n\tCPED_CONFIG_FLAG_CanPlayInCarIdles = 248,\n\t_CPED_CONFIG_FLAG_0x12659168 = 249,\n\t_CPED_CONFIG_FLAG_0x1BDF2F04 = 250,\n\t_CPED_CONFIG_FLAG_0x7728FAA3 = 251,\n\t_CPED_CONFIG_FLAG_0x6A807ED8 = 252,\n\tCPED_CONFIG_FLAG_OnStairs = 253,\n\t_CPED_CONFIG_FLAG_0xE1A2F73F = 254,\n\t_CPED_CONFIG_FLAG_0x5B3697C8 = 255,\n\t_CPED_CONFIG_FLAG_0xF1EB20A9 = 256,\n\t_CPED_CONFIG_FLAG_0x8B7DF407 = 257,\n\t_CPED_CONFIG_FLAG_0x329DCF1A = 258,\n\t_CPED_CONFIG_FLAG_0x8D90DD1B = 259,\n\t_CPED_CONFIG_FLAG_0xB8A292B7 = 260,\n\t_CPED_CONFIG_FLAG_0x8374B087 = 261,\n\t_CPED_CONFIG_FLAG_0x2AF558F0 = 262,\n\t_CPED_CONFIG_FLAG_0x82251455 = 263,\n\t_CPED_CONFIG_FLAG_0x30CF498B = 264,\n\t_CPED_CONFIG_FLAG_0xE1CD50AF = 265,\n\t_CPED_CONFIG_FLAG_0x72E4AE48 = 266,\n\t_CPED_CONFIG_FLAG_0xC2657EA1 = 267,\n\t_CPED_CONFIG_FLAG_0x29FF6030 = 268,\n\t_CPED_CONFIG_FLAG_0x8248A5EC = 269,\n\tCPED_CONFIG_FLAG_OnStairSlope = 270,\n\t_CPED_CONFIG_FLAG_0xA0897933 = 271,\n\tCPED_CONFIG_FLAG_DontBlipCop = 272,\n\tCPED_CONFIG_FLAG_ClimbedShiftedFence = 273,\n\t_CPED_CONFIG_FLAG_0xF7823618 = 274,\n\t_CPED_CONFIG_FLAG_0xDC305CCE = 275,\n\tCPED_CONFIG_FLAG_EdgeDetected = 276,\n\t_CPED_CONFIG_FLAG_0x92B67896 = 277,\n\t_CPED_CONFIG_FLAG_0xCAD677C9 = 278,\n\tCPED_CONFIG_FLAG_AvoidTearGas = 279,\n\t_CPED_CONFIG_FLAG_0x5276AC7B = 280,\n\t_CPED_CONFIG_FLAG_NoWrithe = 281, // 0x1032692A\n\t_CPED_CONFIG_FLAG_0xDA23E7F1 = 282,\n\t_CPED_CONFIG_FLAG_0x9139724D = 283,\n\t_CPED_CONFIG_FLAG_0xA1457461 = 284,\n\t_CPED_CONFIG_FLAG_0x4186E095 = 285,\n\t_CPED_CONFIG_FLAG_0xAC68E2EB = 286,\n\tCPED_CONFIG_FLAG_RagdollingOnBoat = 287,\n\tCPED_CONFIG_FLAG_HasBrandishedWeapon = 288,\n\t_CPED_CONFIG_FLAG_0x1B9EE8A1 = 289,\n\t_CPED_CONFIG_FLAG_0xF3F5758C = 290,\n\t_CPED_CONFIG_FLAG_0x2A9307F1 = 291,\n\t_CPED_CONFIG_FLAG_FreezePosition = 292, // 0x7403D216\n\t_CPED_CONFIG_FLAG_0xA06A3C6C = 293,\n\tCPED_CONFIG_FLAG_DisableShockingEvents = 294,\n\t_CPED_CONFIG_FLAG_0xF8DA25A5 = 295,\n\t_CPED_CONFIG_FLAG_0x7EF55802 = 296,\n\t_CPED_CONFIG_FLAG_0xB31F1187 = 297,\n\t_CPED_CONFIG_FLAG_0x84315402 = 298,\n\t_CPED_CONFIG_FLAG_0x0FD69867 = 299,\n\t_CPED_CONFIG_FLAG_0xC7829B67 = 300,\n\tCPED_CONFIG_FLAG_DisablePedConstraints = 301,\n\t_CPED_CONFIG_FLAG_0x6D23CF25 = 302,\n\t_CPED_CONFIG_FLAG_0x2ADA871B = 303,\n\t_CPED_CONFIG_FLAG_0x47BC8A58 = 304,\n\t_CPED_CONFIG_FLAG_0xEB692FA5 = 305,\n\t_CPED_CONFIG_FLAG_0x4A133C50 = 306,\n\t_CPED_CONFIG_FLAG_0xC58099C3 = 307,\n\t_CPED_CONFIG_FLAG_0xF3D76D41 = 308,\n\t_CPED_CONFIG_FLAG_0xB0EEE9F2 = 309,\n\tCPED_CONFIG_FLAG_IsInCluster = 310,\n\t_CPED_CONFIG_FLAG_0x0FA153EF = 311,\n\t_CPED_CONFIG_FLAG_0xD73F5CD3 = 312,\n\t_CPED_CONFIG_FLAG_0xD4136C22 = 313,\n\t_CPED_CONFIG_FLAG_0xE404CA6B = 314,\n\t_CPED_CONFIG_FLAG_0xB9597446 = 315,\n\t_CPED_CONFIG_FLAG_0xD5C98277 = 316,\n\t_CPED_CONFIG_FLAG_0xD5060A9C = 317,\n\t_CPED_CONFIG_FLAG_0x3E5F1CBB = 318,\n\t_CPED_CONFIG_FLAG_0xD8BE1D54 = 319,\n\t_CPED_CONFIG_FLAG_0x0B1F191F = 320,\n\t_CPED_CONFIG_FLAG_0xC995167A = 321,\n\tCPED_CONFIG_FLAG_HasHighHeels = 322,\n\t_CPED_CONFIG_FLAG_0x86B01E54 = 323,\n\t_CPED_CONFIG_FLAG_0x3A56FE15 = 324,\n\t_CPED_CONFIG_FLAG_0xC03B736C = 325, // SpawnedAtScenario?\n\t_CPED_CONFIG_FLAG_0xBBF47729 = 326,\n\t_CPED_CONFIG_FLAG_0x22B668A8 = 327,\n\t_CPED_CONFIG_FLAG_0x2624D4D4 = 328,\n\tCPED_CONFIG_FLAG_DisableTalkTo = 329,\n\tCPED_CONFIG_FLAG_DontBlip = 330,\n\tCPED_CONFIG_FLAG_IsSwitchingWeapon = 331,\n\t_CPED_CONFIG_FLAG_0x630F55F3 = 332,\n\t_CPED_CONFIG_FLAG_0x150468FD = 333,\n\t_CPED_CONFIG_FLAG_0x914EBD6B = 334,\n\t_CPED_CONFIG_FLAG_0x79AF3B6D = 335,\n\t_CPED_CONFIG_FLAG_0x75C7A632 = 336,\n\t_CPED_CONFIG_FLAG_0x52D530E2 = 337,\n\t_CPED_CONFIG_FLAG_0xDB2A90E0 = 338,\n\t_CPED_CONFIG_FLAG_0x5922763D = 339,\n\t_CPED_CONFIG_FLAG_0x12ADB567 = 340,\n\t_CPED_CONFIG_FLAG_0x105C8518 = 341,\n\t_CPED_CONFIG_FLAG_0x106F703D = 342,\n\t_CPED_CONFIG_FLAG_0xED152C3E = 343,\n\t_CPED_CONFIG_FLAG_0xA0EFE6A8 = 344,\n\t_CPED_CONFIG_FLAG_0xBF348C82 = 345,\n\t_CPED_CONFIG_FLAG_0xCDDFE830 = 346,\n\t_CPED_CONFIG_FLAG_0x7B59BD9B = 347,\n\t_CPED_CONFIG_FLAG_0x0124C788 = 348,\n\tCPED_CONFIG_FLAG_EquipJetpack = 349,\n\t_CPED_CONFIG_FLAG_0x08D361A5 = 350,\n\t_CPED_CONFIG_FLAG_0xE13D1F7C = 351,\n\t_CPED_CONFIG_FLAG_0x40E25FB9 = 352,\n\t_CPED_CONFIG_FLAG_0x930629D9 = 353,\n\t_CPED_CONFIG_FLAG_0xECCF0C7F = 354,\n\t_CPED_CONFIG_FLAG_0xB6E9613B = 355,\n\t_CPED_CONFIG_FLAG_0x490C0478 = 356,\n\t_CPED_CONFIG_FLAG_0xE8865BEA = 357,\n\t_CPED_CONFIG_FLAG_0xF3C34A29 = 358,\n\tCPED_CONFIG_FLAG_IsDuckingInVehicle = 359,\n\t_CPED_CONFIG_FLAG_0xF660E115 = 360,\n\t_CPED_CONFIG_FLAG_0xAB0E6DED = 361,\n\tCPED_CONFIG_FLAG_HasReserveParachute = 362,\n\tCPED_CONFIG_FLAG_UseReserveParachute = 363,\n\t_CPED_CONFIG_FLAG_0x5C5D9CD3 = 364,\n\t_CPED_CONFIG_FLAG_0x8F7701F3 = 365,\n\t_CPED_CONFIG_FLAG_0xBC4436AD = 366,\n\t_CPED_CONFIG_FLAG_0xD7E07D37 = 367,\n\t_CPED_CONFIG_FLAG_0x03C4FD24 = 368,\n\t_CPED_CONFIG_FLAG_0x7675789A = 369,\n\t_CPED_CONFIG_FLAG_0xB7288A88 = 370,\n\t_CPED_CONFIG_FLAG_0xC06B6291 = 371,\n\t_CPED_CONFIG_FLAG_0x95A4A805 = 372,\n\t_CPED_CONFIG_FLAG_0xA8E9A042 = 373,\n\tCPED_CONFIG_FLAG_NeverLeaveTrain = 374,\n\t_CPED_CONFIG_FLAG_0xBAC674B3 = 375,\n\t_CPED_CONFIG_FLAG_0x147F1FFB = 376,\n\t_CPED_CONFIG_FLAG_0x4376DD79 = 377,\n\t_CPED_CONFIG_FLAG_0xCD3DB518 = 378,\n\t_CPED_CONFIG_FLAG_0xFE4BA4B6 = 379,\n\t_CPED_CONFIG_FLAG_0x5DF03A55 = 380,\n\t_CPED_CONFIG_FLAG_0xBCD816CD = 381,\n\t_CPED_CONFIG_FLAG_0xCF02DD69 = 382,\n\t_CPED_CONFIG_FLAG_0xF73AFA2E = 383,\n\t_CPED_CONFIG_FLAG_0x80B9A9D0 = 384,\n\t_CPED_CONFIG_FLAG_0xF601F7EE = 385,\n\t_CPED_CONFIG_FLAG_0xA91350FC = 386,\n\t_CPED_CONFIG_FLAG_0x3AB23B96 = 387,\n\tCPED_CONFIG_FLAG_IsClimbingLadder = 388,\n\tCPED_CONFIG_FLAG_HasBareFeet = 389,\n\t_CPED_CONFIG_FLAG_0xB4B1CD4C = 390,\n\t_CPED_CONFIG_FLAG_0x5459AFB8 = 391,\n\t_CPED_CONFIG_FLAG_0x54F27667 = 392,\n\t_CPED_CONFIG_FLAG_0xC11D3E8F = 393,\n\t_CPED_CONFIG_FLAG_0x5419EB3E = 394,\n\t_CPED_CONFIG_FLAG_0x82D8DBB4 = 395,\n\t_CPED_CONFIG_FLAG_0x33B02D2F = 396,\n\t_CPED_CONFIG_FLAG_0xAE66176D = 397,\n\t_CPED_CONFIG_FLAG_0xA2692593 = 398,\n\t_CPED_CONFIG_FLAG_0x714C7E31 = 399,\n\t_CPED_CONFIG_FLAG_0xEC488AC7 = 400,\n\t_CPED_CONFIG_FLAG_0xAE398504 = 401,\n\t_CPED_CONFIG_FLAG_0xABC58D72 = 402,\n\t_CPED_CONFIG_FLAG_0x5E5B9591 = 403,\n\t_CPED_CONFIG_FLAG_0x6BA1091E = 404,\n\t_CPED_CONFIG_FLAG_0x77840177 = 405,\n\t_CPED_CONFIG_FLAG_0x1C7ACAC4 = 406,\n\t_CPED_CONFIG_FLAG_0x124420E9 = 407,\n\t_CPED_CONFIG_FLAG_0x75A65587 = 408,\n\t_CPED_CONFIG_FLAG_0xDFD2D55B = 409,\n\t_CPED_CONFIG_FLAG_0xBDD39919 = 410,\n\t_CPED_CONFIG_FLAG_0x43DEC267 = 411,\n\t_CPED_CONFIG_FLAG_0xE42B7797 = 412,\n\tCPED_CONFIG_FLAG_IsHolsteringWeapon = 413,\n\t_CPED_CONFIG_FLAG_0x4F8149F5 = 414,\n\t_CPED_CONFIG_FLAG_0xDD9ECA7A = 415,\n\t_CPED_CONFIG_FLAG_0x9E7EF9D2 = 416,\n\t_CPED_CONFIG_FLAG_0x2C6ED942 = 417,\n\tCPED_CONFIG_FLAG_IsSwitchingHelmetVisor = 418,\n\t_CPED_CONFIG_FLAG_0xA488727D = 419,\n\t_CPED_CONFIG_FLAG_0xCFF5F6DE = 420,\n\t_CPED_CONFIG_FLAG_0x6D614599 = 421,\n\tCPED_CONFIG_FLAG_DisableVehicleCombat = 422,\n\t_CPED_CONFIG_FLAG_0xFE401D26 = 423,\n\tCPED_CONFIG_FLAG_FallsLikeAircraft = 424,\n\t_CPED_CONFIG_FLAG_0x2B42AE82 = 425,\n\t_CPED_CONFIG_FLAG_0x7A95734F = 426,\n\t_CPED_CONFIG_FLAG_0xDF4D8617 = 427,\n\t_CPED_CONFIG_FLAG_0x578F1F14 = 428,\n\tCPED_CONFIG_FLAG_DisableStartEngine = 429,\n\tCPED_CONFIG_FLAG_IgnoreBeingOnFire = 430,\n\t_CPED_CONFIG_FLAG_0x153C9500 = 431,\n\t_CPED_CONFIG_FLAG_0xCB7A632E = 432,\n\t_CPED_CONFIG_FLAG_0xDE727981 = 433,\n\tCPED_CONFIG_FLAG_DisableHomingMissileLockon = 434,\n\t_CPED_CONFIG_FLAG_0x12BBB935 = 435,\n\t_CPED_CONFIG_FLAG_0xAD0A1277 = 436,\n\t_CPED_CONFIG_FLAG_0xEA6AA46A = 437,\n\tCPED_CONFIG_FLAG_DisableHelmetArmor = 438,\n\t_CPED_CONFIG_FLAG_0xCB7F3A1E = 439,\n\t_CPED_CONFIG_FLAG_0x50178878 = 440,\n\t_CPED_CONFIG_FLAG_0x051B4F0D = 441,\n\t_CPED_CONFIG_FLAG_0x2FC3DECC = 442,\n\t_CPED_CONFIG_FLAG_0xC0030B0B = 443,\n\t_CPED_CONFIG_FLAG_0xBBDAF1E9 = 444,\n\t_CPED_CONFIG_FLAG_0x944FE59C = 445,\n\t_CPED_CONFIG_FLAG_0x506FBA39 = 446,\n\t_CPED_CONFIG_FLAG_0xDD45FE84 = 447,\n\t_CPED_CONFIG_FLAG_0xE698AE75 = 448,\n\t_CPED_CONFIG_FLAG_0x199633F8 = 449,\n\tCPED_CONFIG_FLAG_PedIsArresting = 450,\n\tCPED_CONFIG_FLAG_IsDecoyPed = 451,\n\t_CPED_CONFIG_FLAG_0x3A251D83 = 452,\n\t_CPED_CONFIG_FLAG_0xA56F6986 = 453,\n\t_CPED_CONFIG_FLAG_0x1D19C622 = 454,\n\t_CPED_CONFIG_FLAG_0xB68D3EAB = 455,\n\tCPED_CONFIG_FLAG_CanBeIncapacitated = 456,\n\t_CPED_CONFIG_FLAG_0x4BD5EBAD = 457,\n\t_CPED_CONFIG_FLAG_0xFCC5EBC5 = 458\n};", + "comment": "enum ePedConfigFlags\n{\n\t_CPED_CONFIG_FLAG_0xC63DE95E = 1,\n\tCPED_CONFIG_FLAG_NoCriticalHits = 2,\n\tCPED_CONFIG_FLAG_DrownsInWater = 3,\n\tCPED_CONFIG_FLAG_DisableReticuleFixedLockon = 4,\n\t_CPED_CONFIG_FLAG_0x37D196F4 = 5,\n\t_CPED_CONFIG_FLAG_0xE2462399 = 6,\n\tCPED_CONFIG_FLAG_UpperBodyDamageAnimsOnly = 7,\n\t_CPED_CONFIG_FLAG_0xEDDEB838 = 8,\n\t_CPED_CONFIG_FLAG_0xB398B6FD = 9,\n\t_CPED_CONFIG_FLAG_0xF6664E68 = 10,\n\t_CPED_CONFIG_FLAG_0xA05E7CA3 = 11,\n\t_CPED_CONFIG_FLAG_0xCE394045 = 12,\n\tCPED_CONFIG_FLAG_NeverLeavesGroup = 13,\n\t_CPED_CONFIG_FLAG_0xCD8D1411 = 14,\n\t_CPED_CONFIG_FLAG_0xB031F1A9 = 15,\n\t_CPED_CONFIG_FLAG_0xFE65BEE3 = 16,\n\tCPED_CONFIG_FLAG_BlockNonTemporaryEvents = 17,\n\t_CPED_CONFIG_FLAG_0x380165BD = 18,\n\t_CPED_CONFIG_FLAG_0x07C045C7 = 19,\n\t_CPED_CONFIG_FLAG_0x583B5E2D = 20,\n\t_CPED_CONFIG_FLAG_0x475EDA58 = 21,\n\t_CPED_CONFIG_FLAG_0x8629D05B = 22,\n\t_CPED_CONFIG_FLAG_0x1522968B = 23,\n\tCPED_CONFIG_FLAG_IgnoreSeenMelee = 24,\n\t_CPED_CONFIG_FLAG_0x4CC09C4B = 25,\n\t_CPED_CONFIG_FLAG_0x034F3053 = 26,\n\t_CPED_CONFIG_FLAG_0xD91BA7CC = 27,\n\t_CPED_CONFIG_FLAG_0x5C8DC66E = 28,\n\tCPED_CONFIG_FLAG_GetOutUndriveableVehicle = 29,\n\t_CPED_CONFIG_FLAG_0x6580B9D2 = 30,\n\t_CPED_CONFIG_FLAG_0x0EF7A297 = 31,\n\tCPED_CONFIG_FLAG_WillFlyThruWindscreen = 32,\n\tCPED_CONFIG_FLAG_DieWhenRagdoll = 33,\n\tCPED_CONFIG_FLAG_HasHelmet = 34,\n\tCPED_CONFIG_FLAG_UseHelmet = 35,\n\tCPED_CONFIG_FLAG_DontTakeOffHelmet = 36,\n\t_CPED_CONFIG_FLAG_0xB130D17B = 37,\n\t_CPED_CONFIG_FLAG_0x5F071200 = 38,\n\tCPED_CONFIG_FLAG_DisableEvasiveDives = 39,\n\t_CPED_CONFIG_FLAG_0xC287AAFF = 40,\n\t_CPED_CONFIG_FLAG_0x203328CC = 41,\n\tCPED_CONFIG_FLAG_DontInfluenceWantedLevel = 42,\n\tCPED_CONFIG_FLAG_DisablePlayerLockon = 43,\n\tCPED_CONFIG_FLAG_DisableLockonToRandomPeds = 44,\n\tCPED_CONFIG_FLAG_AllowLockonToFriendlyPlayers = 45,\n\t_CPED_CONFIG_FLAG_0xDB115BFA = 46,\n\tCPED_CONFIG_FLAG_PedBeingDeleted = 47,\n\tCPED_CONFIG_FLAG_BlockWeaponSwitching = 48,\n\t_CPED_CONFIG_FLAG_0xF8E99565 = 49,\n\t_CPED_CONFIG_FLAG_0xDD17FEE6 = 50,\n\t_CPED_CONFIG_FLAG_0x7ED9B2C9 = 51,\n\t_CPED_CONFIG_FLAG_NoCollison = 52,\n\t_CPED_CONFIG_FLAG_0x5A6C1F6E = 53,\n\t_CPED_CONFIG_FLAG_0xD749FC41 = 54,\n\t_CPED_CONFIG_FLAG_0x357F63F3 = 55,\n\t_CPED_CONFIG_FLAG_0xC5E60961 = 56,\n\t_CPED_CONFIG_FLAG_0x29275C3E = 57,\n\tCPED_CONFIG_FLAG_IsFiring = 58,\n\tCPED_CONFIG_FLAG_WasFiring = 59,\n\tCPED_CONFIG_FLAG_IsStanding = 60,\n\tCPED_CONFIG_FLAG_WasStanding = 61,\n\tCPED_CONFIG_FLAG_InVehicle = 62,\n\tCPED_CONFIG_FLAG_OnMount = 63,\n\tCPED_CONFIG_FLAG_AttachedToVehicle = 64,\n\tCPED_CONFIG_FLAG_IsSwimming = 65,\n\tCPED_CONFIG_FLAG_WasSwimming = 66,\n\tCPED_CONFIG_FLAG_IsSkiing = 67,\n\tCPED_CONFIG_FLAG_IsSitting = 68,\n\tCPED_CONFIG_FLAG_KilledByStealth = 69,\n\tCPED_CONFIG_FLAG_KilledByTakedown = 70,\n\tCPED_CONFIG_FLAG_Knockedout = 71,\n\t_CPED_CONFIG_FLAG_0x3E3C4560 = 72,\n\t_CPED_CONFIG_FLAG_0x2994C7B7 = 73,\n\t_CPED_CONFIG_FLAG_0x6D59D275 = 74,\n\tCPED_CONFIG_FLAG_UsingCoverPoint = 75,\n\tCPED_CONFIG_FLAG_IsInTheAir = 76,\n\t_CPED_CONFIG_FLAG_0x2D493FB7 = 77,\n\tCPED_CONFIG_FLAG_IsAimingGun = 78,\n\t_CPED_CONFIG_FLAG_0x14D69875 = 79,\n\t_CPED_CONFIG_FLAG_0x40B05311 = 80,\n\t_CPED_CONFIG_FLAG_0x8B230BC5 = 81,\n\t_CPED_CONFIG_FLAG_0xC74E5842 = 82,\n\t_CPED_CONFIG_FLAG_0x9EA86147 = 83,\n\t_CPED_CONFIG_FLAG_0x674C746C = 84,\n\t_CPED_CONFIG_FLAG_0x3E56A8C2 = 85,\n\t_CPED_CONFIG_FLAG_0xC144A1EF = 86,\n\t_CPED_CONFIG_FLAG_0x0548512D = 87,\n\t_CPED_CONFIG_FLAG_0x31C93909 = 88,\n\t_CPED_CONFIG_FLAG_0xA0269315 = 89,\n\t_CPED_CONFIG_FLAG_0xD4D59D4D = 90,\n\t_CPED_CONFIG_FLAG_0x411D4420 = 91,\n\t_CPED_CONFIG_FLAG_0xDF4AEF0D = 92,\n\tCPED_CONFIG_FLAG_ForcePedLoadCover = 93,\n\t_CPED_CONFIG_FLAG_0x300E4CD3 = 94,\n\t_CPED_CONFIG_FLAG_0xF1C5BF04 = 95,\n\t_CPED_CONFIG_FLAG_0x89C2EF13 = 96,\n\tCPED_CONFIG_FLAG_VaultFromCover = 97,\n\t_CPED_CONFIG_FLAG_0x02A852C8 = 98,\n\t_CPED_CONFIG_FLAG_0x3D9407F1 = 99,\n\t_CPED_CONFIG_FLAG_IsDrunk = 100, // 0x319B4558\n\tCPED_CONFIG_FLAG_ForcedAim = 101,\n\t_CPED_CONFIG_FLAG_0xB942D71A = 102,\n\t_CPED_CONFIG_FLAG_0xD26C55A8 = 103,\n\tCPED_CONFIG_FLAG_OpenDoorArmIK = 104,\n\tCPED_CONFIG_FLAG_ForceReload = 105,\n\tCPED_CONFIG_FLAG_DontActivateRagdollFromVehicleImpact = 106,\n\tCPED_CONFIG_FLAG_DontActivateRagdollFromBulletImpact = 107,\n\tCPED_CONFIG_FLAG_DontActivateRagdollFromExplosions = 108,\n\tCPED_CONFIG_FLAG_DontActivateRagdollFromFire = 109,\n\tCPED_CONFIG_FLAG_DontActivateRagdollFromElectrocution = 110,\n\t_CPED_CONFIG_FLAG_0x83C0A4BF = 111,\n\t_CPED_CONFIG_FLAG_0x0E0FAF8C = 112,\n\tCPED_CONFIG_FLAG_KeepWeaponHolsteredUnlessFired = 113,\n\t_CPED_CONFIG_FLAG_0x43B80B79 = 114,\n\t_CPED_CONFIG_FLAG_0x0D2A9309 = 115,\n\tCPED_CONFIG_FLAG_GetOutBurningVehicle = 116,\n\tCPED_CONFIG_FLAG_BumpedByPlayer = 117,\n\tCPED_CONFIG_FLAG_RunFromFiresAndExplosions = 118,\n\tCPED_CONFIG_FLAG_TreatAsPlayerDuringTargeting = 119,\n\tCPED_CONFIG_FLAG_IsHandCuffed = 120,\n\tCPED_CONFIG_FLAG_IsAnkleCuffed = 121,\n\tCPED_CONFIG_FLAG_DisableMelee = 122,\n\tCPED_CONFIG_FLAG_DisableUnarmedDrivebys = 123,\n\tCPED_CONFIG_FLAG_JustGetsPulledOutWhenElectrocuted = 124,\n\t_CPED_CONFIG_FLAG_0x5FED6BFD = 125,\n\tCPED_CONFIG_FLAG_WillNotHotwireLawEnforcementVehicle = 126,\n\tCPED_CONFIG_FLAG_WillCommandeerRatherThanJack = 127,\n\tCPED_CONFIG_FLAG_CanBeAgitated = 128,\n\tCPED_CONFIG_FLAG_ForcePedToFaceLeftInCover = 129,\n\tCPED_CONFIG_FLAG_ForcePedToFaceRightInCover = 130,\n\tCPED_CONFIG_FLAG_BlockPedFromTurningInCover = 131,\n\tCPED_CONFIG_FLAG_KeepRelationshipGroupAfterCleanUp = 132,\n\tCPED_CONFIG_FLAG_ForcePedToBeDragged = 133,\n\tCPED_CONFIG_FLAG_PreventPedFromReactingToBeingJacked = 134,\n\tCPED_CONFIG_FLAG_IsScuba = 135,\n\tCPED_CONFIG_FLAG_WillArrestRatherThanJack = 136,\n\tCPED_CONFIG_FLAG_RemoveDeadExtraFarAway = 137,\n\tCPED_CONFIG_FLAG_RidingTrain = 138,\n\tCPED_CONFIG_FLAG_ArrestResult = 139,\n\tCPED_CONFIG_FLAG_CanAttackFriendly = 140,\n\tCPED_CONFIG_FLAG_WillJackAnyPlayer = 141,\n\t_CPED_CONFIG_FLAG_0x6901E731 = 142,\n\t_CPED_CONFIG_FLAG_0x9EC9BF6C = 143,\n\tCPED_CONFIG_FLAG_WillJackWantedPlayersRatherThanStealCar = 144,\n\tCPED_CONFIG_FLAG_ShootingAnimFlag = 145,\n\tCPED_CONFIG_FLAG_DisableLadderClimbing = 146,\n\tCPED_CONFIG_FLAG_StairsDetected = 147,\n\tCPED_CONFIG_FLAG_SlopeDetected = 148,\n\t_CPED_CONFIG_FLAG_0x1A15670B = 149,\n\tCPED_CONFIG_FLAG_CowerInsteadOfFlee = 150,\n\tCPED_CONFIG_FLAG_CanActivateRagdollWhenVehicleUpsideDown = 151,\n\tCPED_CONFIG_FLAG_AlwaysRespondToCriesForHelp = 152,\n\tCPED_CONFIG_FLAG_DisableBloodPoolCreation = 153,\n\tCPED_CONFIG_FLAG_ShouldFixIfNoCollision = 154,\n\tCPED_CONFIG_FLAG_CanPerformArrest = 155,\n\tCPED_CONFIG_FLAG_CanPerformUncuff = 156,\n\tCPED_CONFIG_FLAG_CanBeArrested = 157,\n\t_CPED_CONFIG_FLAG_0xF7960FF5 = 158,\n\tCPED_CONFIG_FLAG_PlayerPreferFrontSeatMP = 159,\n\t_CPED_CONFIG_FLAG_0x0C6C3099 = 160,\n\t_CPED_CONFIG_FLAG_0x645F927A = 161,\n\t_CPED_CONFIG_FLAG_0xA86549B9 = 162,\n\t_CPED_CONFIG_FLAG_0x8AAF337A = 163,\n\t_CPED_CONFIG_FLAG_0x13BAA6E7 = 164,\n\t_CPED_CONFIG_FLAG_0x5FB9D1F5 = 165,\n\tCPED_CONFIG_FLAG_IsInjured = 166,\n\tCPED_CONFIG_FLAG_DontEnterVehiclesInPlayersGroup = 167,\n\t_CPED_CONFIG_FLAG_0xD8072639 = 168,\n\tCPED_CONFIG_FLAG_PreventAllMeleeTaunts = 169,\n\tCPED_CONFIG_FLAG_ForceDirectEntry = 170,\n\tCPED_CONFIG_FLAG_AlwaysSeeApproachingVehicles = 171,\n\tCPED_CONFIG_FLAG_CanDiveAwayFromApproachingVehicles = 172,\n\tCPED_CONFIG_FLAG_AllowPlayerToInterruptVehicleEntryExit = 173,\n\tCPED_CONFIG_FLAG_OnlyAttackLawIfPlayerIsWanted = 174,\n\t_CPED_CONFIG_FLAG_0x90008BFA = 175,\n\t_CPED_CONFIG_FLAG_0x07C7A910 = 176,\n\tCPED_CONFIG_FLAG_PedsJackingMeDontGetIn = 177,\n\t_CPED_CONFIG_FLAG_0xCE4E8BE2 = 178,\n\tCPED_CONFIG_FLAG_PedIgnoresAnimInterruptEvents = 179,\n\tCPED_CONFIG_FLAG_IsInCustody = 180,\n\tCPED_CONFIG_FLAG_ForceStandardBumpReactionThresholds = 181,\n\tCPED_CONFIG_FLAG_LawWillOnlyAttackIfPlayerIsWanted = 182,\n\tCPED_CONFIG_FLAG_IsAgitated = 183,\n\tCPED_CONFIG_FLAG_PreventAutoShuffleToDriversSeat = 184,\n\tCPED_CONFIG_FLAG_UseKinematicModeWhenStationary = 185,\n\tCPED_CONFIG_FLAG_EnableWeaponBlocking = 186,\n\tCPED_CONFIG_FLAG_HasHurtStarted = 187,\n\tCPED_CONFIG_FLAG_DisableHurt = 188,\n\tCPED_CONFIG_FLAG_PlayerIsWeird = 189,\n\t_CPED_CONFIG_FLAG_0x32FC208B = 190,\n\t_CPED_CONFIG_FLAG_0x0C296E5A = 191,\n\t_CPED_CONFIG_FLAG_0xE63B73EC = 192,\n\tCPED_CONFIG_FLAG_DoNothingWhenOnFootByDefault = 193,\n\tCPED_CONFIG_FLAG_UsingScenario = 194,\n\tCPED_CONFIG_FLAG_VisibleOnScreen = 195,\n\t_CPED_CONFIG_FLAG_0xD88C58A1 = 196,\n\t_CPED_CONFIG_FLAG_0x5A3DCF43 = 197,\n\t_CPED_CONFIG_FLAG_0xEA02B420 = 198,\n\tCPED_CONFIG_FLAG_DontActivateRagdollOnVehicleCollisionWhenDead = 199,\n\tCPED_CONFIG_FLAG_HasBeenInArmedCombat = 200,\n\t_CPED_CONFIG_FLAG_0x5E6466F6 = 201,\n\tCPED_CONFIG_FLAG_Avoidance_Ignore_All = 202,\n\tCPED_CONFIG_FLAG_Avoidance_Ignored_by_All = 203,\n\tCPED_CONFIG_FLAG_Avoidance_Ignore_Group1 = 204,\n\tCPED_CONFIG_FLAG_Avoidance_Member_of_Group1 = 205,\n\tCPED_CONFIG_FLAG_ForcedToUseSpecificGroupSeatIndex = 206,\n\t_CPED_CONFIG_FLAG_0x415B26B9 = 207,\n\tCPED_CONFIG_FLAG_DisableExplosionReactions = 208,\n\tCPED_CONFIG_FLAG_DodgedPlayer = 209,\n\tCPED_CONFIG_FLAG_WaitingForPlayerControlInterrupt = 210,\n\tCPED_CONFIG_FLAG_ForcedToStayInCover = 211,\n\tCPED_CONFIG_FLAG_GeneratesSoundEvents = 212,\n\tCPED_CONFIG_FLAG_ListensToSoundEvents = 213,\n\tCPED_CONFIG_FLAG_AllowToBeTargetedInAVehicle = 214,\n\tCPED_CONFIG_FLAG_WaitForDirectEntryPointToBeFreeWhenExiting = 215,\n\tCPED_CONFIG_FLAG_OnlyRequireOnePressToExitVehicle = 216,\n\tCPED_CONFIG_FLAG_ForceExitToSkyDive = 217,\n\t_CPED_CONFIG_FLAG_0x3C7DF9DF = 218,\n\t_CPED_CONFIG_FLAG_0x848FFEF2 = 219,\n\tCPED_CONFIG_FLAG_DontEnterLeadersVehicle = 220,\n\tCPED_CONFIG_FLAG_DisableExitToSkyDive = 221,\n\t_CPED_CONFIG_FLAG_0x84F722FA = 222,\n\t_CPED_CONFIG_FLAG_Shrink = 223, // 0xD1B87B1F\n\t_CPED_CONFIG_FLAG_0x728AA918 = 224,\n\tCPED_CONFIG_FLAG_DisablePotentialToBeWalkedIntoResponse = 225,\n\tCPED_CONFIG_FLAG_DisablePedAvoidance = 226,\n\tCPED_CONFIG_FLAG_ForceRagdollUponDeath = 227,\n\t_CPED_CONFIG_FLAG_0x1EA7225F = 228,\n\tCPED_CONFIG_FLAG_DisablePanicInVehicle = 229,\n\tCPED_CONFIG_FLAG_AllowedToDetachTrailer = 230,\n\t_CPED_CONFIG_FLAG_0xFC3E572D = 231,\n\t_CPED_CONFIG_FLAG_0x08E9F9CF = 232,\n\t_CPED_CONFIG_FLAG_0x2D3BA52D = 233,\n\t_CPED_CONFIG_FLAG_0xFD2F53EA = 234,\n\t_CPED_CONFIG_FLAG_0x31A1B03B = 235,\n\tCPED_CONFIG_FLAG_IsHoldingProp = 236,\n\tCPED_CONFIG_FLAG_BlocksPathingWhenDead = 237,\n\t_CPED_CONFIG_FLAG_0xCE57C9A3 = 238,\n\t_CPED_CONFIG_FLAG_0x26149198 = 239,\n\tCPED_CONFIG_FLAG_ForceSkinCharacterCloth = 240,\n\tCPED_CONFIG_FLAG_LeaveEngineOnWhenExitingVehicles = 241,\n\tCPED_CONFIG_FLAG_PhoneDisableTextingAnimations = 242,\n\tCPED_CONFIG_FLAG_PhoneDisableTalkingAnimations = 243,\n\tCPED_CONFIG_FLAG_PhoneDisableCameraAnimations = 244,\n\tCPED_CONFIG_FLAG_DisableBlindFiringInShotReactions = 245,\n\tCPED_CONFIG_FLAG_AllowNearbyCoverUsage = 246,\n\t_CPED_CONFIG_FLAG_0x0C754ACA = 247,\n\tCPED_CONFIG_FLAG_CanPlayInCarIdles = 248,\n\tCPED_CONFIG_FLAG_CanAttackNonWantedPlayerAsLaw = 249,\n\tCPED_CONFIG_FLAG_WillTakeDamageWhenVehicleCrashes = 250,\n\tCPED_CONFIG_FLAG_AICanDrivePlayerAsRearPassenger = 251,\n\tCPED_CONFIG_FLAG_PlayerCanJackFriendlyPlayers = 252,\n\tCPED_CONFIG_FLAG_OnStairs = 253,\n\t_CPED_CONFIG_FLAG_0xE1A2F73F = 254,\n\tCPED_CONFIG_FLAG_AIDriverAllowFriendlyPassengerSeatEntry = 255,\n\t_CPED_CONFIG_FLAG_0xF1EB20A9 = 256,\n\tCPED_CONFIG_FLAG_AllowMissionPedToUseInjuredMovement = 257,\n\t_CPED_CONFIG_FLAG_0x329DCF1A = 258,\n\t_CPED_CONFIG_FLAG_0x8D90DD1B = 259,\n\t_CPED_CONFIG_FLAG_0xB8A292B7 = 260,\n\tCPED_CONFIG_FLAG_PreventUsingLowerPrioritySeats = 261,\n\t_CPED_CONFIG_FLAG_0x2AF558F0 = 262,\n\t_CPED_CONFIG_FLAG_0x82251455 = 263,\n\t_CPED_CONFIG_FLAG_0x30CF498B = 264,\n\t_CPED_CONFIG_FLAG_0xE1CD50AF = 265,\n\t_CPED_CONFIG_FLAG_0x72E4AE48 = 266,\n\t_CPED_CONFIG_FLAG_0xC2657EA1 = 267,\n\tCPED_CONFIG_FLAG_TeleportToLeaderVehicle = 268,\n\tCPED_CONFIG_FLAG_Avoidance_Ignore_WeirdPedBuffer = 269,\n\tCPED_CONFIG_FLAG_OnStairSlope = 270,\n\t_CPED_CONFIG_FLAG_0xA0897933 = 271,\n\tCPED_CONFIG_FLAG_DontBlipCop = 272,\n\tCPED_CONFIG_FLAG_ClimbedShiftedFence = 273,\n\t_CPED_CONFIG_FLAG_0xF7823618 = 274,\n\tCPED_CONFIG_FLAG_KillWhenTrapped = 275,\n\tCPED_CONFIG_FLAG_EdgeDetected = 276,\n\t_CPED_CONFIG_FLAG_0x92B67896 = 277,\n\t_CPED_CONFIG_FLAG_0xCAD677C9 = 278,\n\tCPED_CONFIG_FLAG_AvoidTearGas = 279,\n\t_CPED_CONFIG_FLAG_0x5276AC7B = 280,\n\tCPED_CONFIG_FLAG_DisableGoToWritheWhenInjured = 281,\n\tCPED_CONFIG_FLAG_OnlyUseForcedSeatWhenEnteringHeliInGroup = 282,\n\t_CPED_CONFIG_FLAG_0x9139724D = 283,\n\t_CPED_CONFIG_FLAG_0xA1457461 = 284,\n\tCPED_CONFIG_FLAG_DisableWeirdPedEvents = 285,\n\tCPED_CONFIG_FLAG_ShouldChargeNow = 286,\n\tCPED_CONFIG_FLAG_RagdollingOnBoat = 287,\n\tCPED_CONFIG_FLAG_HasBrandishedWeapon = 288,\n\t_CPED_CONFIG_FLAG_0x1B9EE8A1 = 289,\n\t_CPED_CONFIG_FLAG_0xF3F5758C = 290,\n\t_CPED_CONFIG_FLAG_0x2A9307F1 = 291,\n\t_CPED_CONFIG_FLAG_FreezePosition = 292, // 0x7403D216\n\t_CPED_CONFIG_FLAG_0xA06A3C6C = 293,\n\tCPED_CONFIG_FLAG_DisableShockingEvents = 294,\n\t_CPED_CONFIG_FLAG_0xF8DA25A5 = 295,\n\tCPED_CONFIG_FLAG_NeverReactToPedOnRoof = 296,\n\t_CPED_CONFIG_FLAG_0xB31F1187 = 297,\n\t_CPED_CONFIG_FLAG_0x84315402 = 298,\n\tCPED_CONFIG_FLAG_DisableShockingDrivingOnPavementEvents = 299,\n\t_CPED_CONFIG_FLAG_0xC7829B67 = 300,\n\tCPED_CONFIG_FLAG_DisablePedConstraints = 301,\n\tCPED_CONFIG_FLAG_ForceInitialPeekInCover = 302,\n\t_CPED_CONFIG_FLAG_0x2ADA871B = 303,\n\t_CPED_CONFIG_FLAG_0x47BC8A58 = 304,\n\tCPED_CONFIG_FLAG_DisableJumpingFromVehiclesAfterLeader = 305,\n\t_CPED_CONFIG_FLAG_0x4A133C50 = 306,\n\t_CPED_CONFIG_FLAG_0xC58099C3 = 307,\n\t_CPED_CONFIG_FLAG_0xF3D76D41 = 308,\n\t_CPED_CONFIG_FLAG_0xB0EEE9F2 = 309,\n\tCPED_CONFIG_FLAG_IsInCluster = 310,\n\tCPED_CONFIG_FLAG_ShoutToGroupOnPlayerMelee = 311,\n\tCPED_CONFIG_FLAG_IgnoredByAutoOpenDoors = 312,\n\t_CPED_CONFIG_FLAG_0xD4136C22 = 313,\n\tCPED_CONFIG_FLAG_ForceIgnoreMeleeActiveCombatant = 314,\n\tCPED_CONFIG_FLAG_CheckLoSForSoundEvents = 315,\n\t_CPED_CONFIG_FLAG_0xD5C98277 = 316,\n\tCPED_CONFIG_FLAG_CanSayFollowedByPlayerAudio = 317,\n\tCPED_CONFIG_FLAG_ActivateRagdollFromMinorPlayerContact = 318,\n\t_CPED_CONFIG_FLAG_0xD8BE1D54 = 319,\n\tCPED_CONFIG_FLAG_ForcePoseCharacterCloth = 320,\n\tCPED_CONFIG_FLAG_HasClothCollisionBounds = 321,\n\tCPED_CONFIG_FLAG_HasHighHeels = 322,\n\t_CPED_CONFIG_FLAG_0x86B01E54 = 323,\n\tCPED_CONFIG_FLAG_DontBehaveLikeLaw = 324,\n\t_CPED_CONFIG_FLAG_0xC03B736C = 325, // SpawnedAtScenario?\n\tCPED_CONFIG_FLAG_DisablePoliceInvestigatingBody = 326,\n\tCPED_CONFIG_FLAG_DisableWritheShootFromGround = 327,\n\tCPED_CONFIG_FLAG_LowerPriorityOfWarpSeats = 328,\n\tCPED_CONFIG_FLAG_DisableTalkTo = 329,\n\tCPED_CONFIG_FLAG_DontBlip = 330,\n\tCPED_CONFIG_FLAG_IsSwitchingWeapon = 331,\n\tCPED_CONFIG_FLAG_IgnoreLegIkRestrictions = 332,\n\t_CPED_CONFIG_FLAG_0x150468FD = 333,\n\t_CPED_CONFIG_FLAG_0x914EBD6B = 334,\n\t_CPED_CONFIG_FLAG_0x79AF3B6D = 335,\n\t_CPED_CONFIG_FLAG_0x75C7A632 = 336,\n\t_CPED_CONFIG_FLAG_0x52D530E2 = 337,\n\t_CPED_CONFIG_FLAG_0xDB2A90E0 = 338,\n\tCPED_CONFIG_FLAG_AllowTaskDoNothingTimeslicing = 339,\n\t_CPED_CONFIG_FLAG_0x12ADB567 = 340,\n\t_CPED_CONFIG_FLAG_0x105C8518 = 341,\n\tCPED_CONFIG_FLAG_NotAllowedToJackAnyPlayers = 342,\n\t_CPED_CONFIG_FLAG_0xED152C3E = 343,\n\t_CPED_CONFIG_FLAG_0xA0EFE6A8 = 344,\n\tCPED_CONFIG_FLAG_AlwaysLeaveTrainUponArrival = 345,\n\t_CPED_CONFIG_FLAG_0xCDDFE830 = 346,\n\tCPED_CONFIG_FLAG_OnlyWritheFromWeaponDamage = 347,\n\tCPED_CONFIG_FLAG_UseSloMoBloodVfx = 348,\n\tCPED_CONFIG_FLAG_EquipJetpack = 349,\n\tCPED_CONFIG_FLAG_PreventDraggedOutOfCarThreatResponse = 350,\n\t_CPED_CONFIG_FLAG_0xE13D1F7C = 351,\n\t_CPED_CONFIG_FLAG_0x40E25FB9 = 352,\n\t_CPED_CONFIG_FLAG_0x930629D9 = 353,\n\t_CPED_CONFIG_FLAG_0xECCF0C7F = 354,\n\t_CPED_CONFIG_FLAG_0xB6E9613B = 355,\n\tCPED_CONFIG_FLAG_ForceDeepSurfaceCheck = 356,\n\tCPED_CONFIG_FLAG_DisableDeepSurfaceAnims = 357,\n\tCPED_CONFIG_FLAG_DontBlipNotSynced = 358,\n\tCPED_CONFIG_FLAG_IsDuckingInVehicle = 359,\n\tCPED_CONFIG_FLAG_PreventAutoShuffleToTurretSeat = 360,\n\tCPED_CONFIG_FLAG_DisableEventInteriorStatusCheck = 361,\n\tCPED_CONFIG_FLAG_HasReserveParachute = 362,\n\tCPED_CONFIG_FLAG_UseReserveParachute = 363,\n\tCPED_CONFIG_FLAG_TreatDislikeAsHateWhenInCombat = 364,\n\tCPED_CONFIG_FLAG_OnlyUpdateTargetWantedIfSeen = 365,\n\tCPED_CONFIG_FLAG_AllowAutoShuffleToDriversSeat = 366,\n\t_CPED_CONFIG_FLAG_0xD7E07D37 = 367,\n\t_CPED_CONFIG_FLAG_0x03C4FD24 = 368,\n\t_CPED_CONFIG_FLAG_0x7675789A = 369,\n\t_CPED_CONFIG_FLAG_0xB7288A88 = 370,\n\t_CPED_CONFIG_FLAG_0xC06B6291 = 371,\n\tCPED_CONFIG_FLAG_PreventReactingToSilencedCloneBullets = 372,\n\tCPED_CONFIG_FLAG_DisableInjuredCryForHelpEvents = 373,\n\tCPED_CONFIG_FLAG_NeverLeaveTrain = 374,\n\tCPED_CONFIG_FLAG_DontDropJetpackOnDeath = 375,\n\t_CPED_CONFIG_FLAG_0x147F1FFB = 376,\n\t_CPED_CONFIG_FLAG_0x4376DD79 = 377,\n\t_CPED_CONFIG_FLAG_0xCD3DB518 = 378,\n\t_CPED_CONFIG_FLAG_0xFE4BA4B6 = 379,\n\tCPED_CONFIG_FLAG_DisableAutoEquipHelmetsInBikes = 380,\n\t_CPED_CONFIG_FLAG_0xBCD816CD = 381,\n\t_CPED_CONFIG_FLAG_0xCF02DD69 = 382,\n\t_CPED_CONFIG_FLAG_0xF73AFA2E = 383,\n\t_CPED_CONFIG_FLAG_0x80B9A9D0 = 384,\n\t_CPED_CONFIG_FLAG_0xF601F7EE = 385,\n\t_CPED_CONFIG_FLAG_0xA91350FC = 386,\n\t_CPED_CONFIG_FLAG_0x3AB23B96 = 387,\n\tCPED_CONFIG_FLAG_IsClimbingLadder = 388,\n\tCPED_CONFIG_FLAG_HasBareFeet = 389,\n\tCPED_CONFIG_FLAG_UNUSED_REPLACE_ME_2 = 390,\n\tCPED_CONFIG_FLAG_GoOnWithoutVehicleIfItIsUnableToGetBackToRoad = 391,\n\tCPED_CONFIG_FLAG_BlockDroppingHealthSnacksOnDeath = 392,\n\t_CPED_CONFIG_FLAG_0xC11D3E8F = 393,\n\tCPED_CONFIG_FLAG_ForceThreatResponseToNonFriendToFriendMeleeActions = 394,\n\tCPED_CONFIG_FLAG_DontRespondToRandomPedsDamage = 395,\n\tCPED_CONFIG_FLAG_AllowContinuousThreatResponseWantedLevelUpdates = 396,\n\tCPED_CONFIG_FLAG_KeepTargetLossResponseOnCleanup = 397,\n\tCPED_CONFIG_FLAG_PlayersDontDragMeOutOfCar = 398,\n\tCPED_CONFIG_FLAG_BroadcastRepondedToThreatWhenGoingToPointShooting = 399,\n\tCPED_CONFIG_FLAG_IgnorePedTypeForIsFriendlyWith = 400,\n\tCPED_CONFIG_FLAG_TreatNonFriendlyAsHateWhenInCombat = 401,\n\tCPED_CONFIG_FLAG_DontLeaveVehicleIfLeaderNotInVehicle = 402,\n\t_CPED_CONFIG_FLAG_0x5E5B9591 = 403,\n\tCPED_CONFIG_FLAG_AllowMeleeReactionIfMeleeProofIsOn = 404,\n\t_CPED_CONFIG_FLAG_0x77840177 = 405,\n\t_CPED_CONFIG_FLAG_0x1C7ACAC4 = 406,\n\tCPED_CONFIG_FLAG_UseNormalExplosionDamageWhenBlownUpInVehicle = 407,\n\tCPED_CONFIG_FLAG_DisableHomingMissileLockForVehiclePedInside = 408,\n\tCPED_CONFIG_FLAG_DisableTakeOffScubaGear = 409,\n\tCPED_CONFIG_FLAG_IgnoreMeleeFistWeaponDamageMult = 410,\n\tCPED_CONFIG_FLAG_LawPedsCanFleeFromNonWantedPlayer = 411,\n\tCPED_CONFIG_FLAG_ForceBlipSecurityPedsIfPlayerIsWanted = 412,\n\tCPED_CONFIG_FLAG_IsHolsteringWeapon = 413,\n\tCPED_CONFIG_FLAG_UseGoToPointForScenarioNavigation = 414,\n\tCPED_CONFIG_FLAG_DontClearLocalPassengersWantedLevel = 415,\n\tCPED_CONFIG_FLAG_BlockAutoSwapOnWeaponPickups = 416,\n\tCPED_CONFIG_FLAG_ThisPedIsATargetPriorityForAI = 417,\n\tCPED_CONFIG_FLAG_IsSwitchingHelmetVisor = 418,\n\tCPED_CONFIG_FLAG_ForceHelmetVisorSwitch = 419,\n\t_CPED_CONFIG_FLAG_0xCFF5F6DE = 420,\n\tCPED_CONFIG_FLAG_UseOverrideFootstepPtFx = 421,\n\tCPED_CONFIG_FLAG_DisableVehicleCombat = 422,\n\t_CPED_CONFIG_FLAG_0xFE401D26 = 423,\n\tCPED_CONFIG_FLAG_FallsLikeAircraft = 424,\n\t_CPED_CONFIG_FLAG_0x2B42AE82 = 425,\n\tCPED_CONFIG_FLAG_UseLockpickVehicleEntryAnimations = 426,\n\tCPED_CONFIG_FLAG_IgnoreInteriorCheckForSprinting = 427,\n\tCPED_CONFIG_FLAG_SwatHeliSpawnWithinLastSpottedLocation = 428,\n\tCPED_CONFIG_FLAG_DisableStartEngine = 429,\n\tCPED_CONFIG_FLAG_IgnoreBeingOnFire = 430,\n\tCPED_CONFIG_FLAG_DisableTurretOrRearSeatPreference = 431,\n\tCPED_CONFIG_FLAG_DisableWantedHelicopterSpawning = 432,\n\tCPED_CONFIG_FLAG_UseTargetPerceptionForCreatingAimedAtEvents = 433,\n\tCPED_CONFIG_FLAG_DisableHomingMissileLockon = 434,\n\tCPED_CONFIG_FLAG_ForceIgnoreMaxMeleeActiveSupportCombatants = 435,\n\tCPED_CONFIG_FLAG_StayInDefensiveAreaWhenInVehicle = 436,\n\tCPED_CONFIG_FLAG_DontShoutTargetPosition = 437,\n\tCPED_CONFIG_FLAG_DisableHelmetArmor = 438,\n\t_CPED_CONFIG_FLAG_0xCB7F3A1E = 439,\n\t_CPED_CONFIG_FLAG_0x50178878 = 440,\n\tCPED_CONFIG_FLAG_PreventVehExitDueToInvalidWeapon = 441,\n\tCPED_CONFIG_FLAG_IgnoreNetSessionFriendlyFireCheckForAllowDamage = 442,\n\tCPED_CONFIG_FLAG_DontLeaveCombatIfTargetPlayerIsAttackedByPolice = 443,\n\tCPED_CONFIG_FLAG_CheckLockedBeforeWarp = 444,\n\tCPED_CONFIG_FLAG_DontShuffleInVehicleToMakeRoom = 445,\n\tCPED_CONFIG_FLAG_GiveWeaponOnGetup = 446,\n\tCPED_CONFIG_FLAG_DontHitVehicleWithProjectiles = 447,\n\tCPED_CONFIG_FLAG_DisableForcedEntryForOpenVehiclesFromTryLockedDoor = 448,\n\tCPED_CONFIG_FLAG_FiresDummyRockets = 449,\n\tCPED_CONFIG_FLAG_PedIsArresting = 450,\n\tCPED_CONFIG_FLAG_IsDecoyPed = 451,\n\tCPED_CONFIG_FLAG_HasEstablishedDecoy = 452,\n\tCPED_CONFIG_FLAG_BlockDispatchedHelicoptersFromLanding = 453,\n\tCPED_CONFIG_FLAG_DontCryForHelpOnStun = 454,\n\t_CPED_CONFIG_FLAG_0xB68D3EAB = 455,\n\tCPED_CONFIG_FLAG_CanBeIncapacitated = 456,\n\t_CPED_CONFIG_FLAG_0x4BD5EBAD = 457,\n\tCPED_CONFIG_FLAG_DontChangeTargetFromMelee = 458,\n};", "params": [ { "type": "Ped", From ac926158d0f70b3462c707e1d968e6d97c809c5c Mon Sep 17 00:00:00 2001 From: Sainan <63328889+Sainan@users.noreply.github.com> Date: Tue, 13 Dec 2022 02:15:45 +0100 Subject: [PATCH 12/29] Assign name to UI3DSCENE_ASSIGN_PED_TO_SLOT's p2 --- natives.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/natives.json b/natives.json index 03e1660..0028b50 100755 --- a/natives.json +++ b/natives.json @@ -25422,7 +25422,7 @@ }, { "type": "int", - "name": "p2" + "name": "slot" }, { "type": "float", From c038c17f05df35656ac97ac6534cbf42b7d2db3b Mon Sep 17 00:00:00 2001 From: xshady <54737754+xxshady@users.noreply.github.com> Date: Tue, 13 Dec 2022 04:16:10 +0300 Subject: [PATCH 13/29] fix duplicated ped param in WAYPOINT_PLAYBACK_START_SHOOTING_AT_PED --- natives.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/natives.json b/natives.json index 0028b50..b0d4a30 100755 --- a/natives.json +++ b/natives.json @@ -99980,7 +99980,7 @@ }, { "type": "Ped", - "name": "ped" + "name": "ped2" }, { "type": "BOOL", From a60a2147014347d5264825022a5379498993b817 Mon Sep 17 00:00:00 2001 From: alloc8or <15351559+alloc8or@users.noreply.github.com> Date: Sat, 17 Dec 2022 02:12:56 +0100 Subject: [PATCH 14/29] update to 2802 meh, better late than never Thanks to fingaweg for providing the mapping. --- natives.json | 1428 ++++++++++++++++++++++++++++++++++++++++++-------- 1 file changed, 1212 insertions(+), 216 deletions(-) diff --git a/natives.json b/natives.json index b0d4a30..71ebbd1 100755 --- a/natives.json +++ b/natives.json @@ -2439,6 +2439,10 @@ { "type": "const char*", "name": "radioStation" + }, + { + "type": "Any", + "name": "p2" } ], "return_type": "void", @@ -9813,6 +9817,14 @@ "return_type": "int", "build": "1734" }, + "0x5D583F71C901F2A3": { + "name": "_0x5D583F71C901F2A3", + "jhash": "", + "comment": "", + "params": [], + "return_type": "Any", + "build": "2802" + }, "0x40C8656EDAEDD569": { "name": "WAS_CUTSCENE_SKIPPED", "jhash": "0xC9B6949D", @@ -11983,6 +11995,19 @@ "return_type": "BOOL", "build": "323" }, + "0xA75EE4F689B85391": { + "name": "_0xA75EE4F689B85391", + "jhash": "", + "comment": "", + "params": [ + { + "type": "Any", + "name": "p0" + } + ], + "return_type": "Any", + "build": "2802" + }, "0x5C3D0A935F535C4C": { "name": "GET_LAST_MATERIAL_HIT_BY_ENTITY", "jhash": "0xC0E3AA47", @@ -15470,6 +15495,23 @@ "_GET_ENTITY_BONE_ROTATION_LOCAL" ] }, + "0xCF1247CC86961FD6": { + "name": "_0xCF1247CC86961FD6", + "jhash": "", + "comment": "", + "params": [ + { + "type": "Any", + "name": "p0" + }, + { + "type": "Any", + "name": "p1" + } + ], + "return_type": "Any", + "build": "2802" + }, "0xB328DCC3A3AA401B": { "name": "GET_ENTITY_BONE_COUNT", "jhash": "", @@ -22090,6 +22132,19 @@ "return_type": "void", "build": "323" }, + "0xB7EF5850C39FABCA": { + "name": "_0xB7EF5850C39FABCA", + "jhash": "", + "comment": "", + "params": [ + { + "type": "Any", + "name": "p0" + } + ], + "return_type": "void", + "build": "2802" + }, "0x1E2E01C00837D26E": { "name": "SET_PARTICLE_FX_NON_LOOPED_EMITTER_SIZE", "jhash": "", @@ -23005,6 +23060,31 @@ "return_type": "void", "build": "2545" }, + "0x170911F37F646F29": { + "name": "_0x170911F37F646F29", + "jhash": "", + "comment": "", + "params": [ + { + "type": "Any", + "name": "p0" + }, + { + "type": "Any", + "name": "p1" + }, + { + "type": "Any", + "name": "p2" + }, + { + "type": "Any", + "name": "p3" + } + ], + "return_type": "void", + "build": "2802" + }, "0x9B079E5221D984D3": { "name": "FORCE_POSTFX_BULLET_IMPACTS_AFTER_HUD", "jhash": "", @@ -29877,6 +29957,23 @@ "_SHOW_HAS_COMPLETED_INDICATOR_ON_BLIP" ] }, + "0x19BD6E3C0E16A8FA": { + "name": "_0x19BD6E3C0E16A8FA", + "jhash": "", + "comment": "", + "params": [ + { + "type": "Any", + "name": "p0" + }, + { + "type": "Any", + "name": "p1" + } + ], + "return_type": "void", + "build": "2802" + }, "0x5FBCA48327B914DF": { "name": "SHOW_HEADING_INDICATOR_ON_BLIP", "jhash": "0xD1C3D71B", @@ -30471,6 +30568,14 @@ "_CENTER_PLAYER_ON_RADAR_THIS_FRAME" ] }, + "0x89DA85D949CE57A0": { + "name": "_0x89DA85D949CE57A0", + "jhash": "", + "comment": "", + "params": [], + "return_type": "void", + "build": "2802" + }, "0x55F5A5F07134DE60": { "name": "DONT_ZOOM_MINIMAP_WHEN_SNIPING_THIS_FRAME", "jhash": "0x7A569F78", @@ -37052,6 +37157,14 @@ "return_type": "BOOL", "build": "323" }, + "0xD19C0826DC20CF1C": { + "name": "_0xD19C0826DC20CF1C", + "jhash": "", + "comment": "", + "params": [], + "return_type": "Any", + "build": "2802" + }, "0x9DC711BC69C548DF": { "name": "TERMINATE_ALL_SCRIPTS_WITH_THIS_NAME", "jhash": "0x9F861FD4", @@ -38248,6 +38361,55 @@ "_GET_IS_PROJECTILE_TYPE_IN_AREA" ] }, + "0x3DA8C28346B62CED": { + "name": "_0x3DA8C28346B62CED", + "jhash": "", + "comment": "", + "params": [ + { + "type": "Any", + "name": "p0" + }, + { + "type": "Any", + "name": "p1" + }, + { + "type": "Any", + "name": "p2" + }, + { + "type": "Any", + "name": "p3" + }, + { + "type": "Any", + "name": "p4" + }, + { + "type": "Any", + "name": "p5" + }, + { + "type": "Any", + "name": "p6" + }, + { + "type": "Any", + "name": "p7" + }, + { + "type": "Any", + "name": "p8" + }, + { + "type": "Any", + "name": "p9" + } + ], + "return_type": "Any", + "build": "2802" + }, "0xDFB4138EEFED7B81": { "name": "GET_COORDS_OF_PROJECTILE_TYPE_WITHIN_DISTANCE", "jhash": "0x6BDE5CE4", @@ -42721,6 +42883,10 @@ { "type": "Any", "name": "p3" + }, + { + "type": "Any", + "name": "p4" } ], "return_type": "void", @@ -47570,6 +47736,10 @@ { "type": "Any", "name": "p1" + }, + { + "type": "Any", + "name": "p2" } ], "return_type": "void", @@ -47909,13 +48079,602 @@ } ], "return_type": "void", - "build": "2545", + "build": "2545", + "old_names": [ + "_NETWORK_SPENT_HIDDEN_CONTACT_SERVICE" + ] + }, + "0xD9DF467CBE4398C8": { + "name": "NETWORK_SPEND_SOURCE_BIKE", + "jhash": "", + "comment": "", + "params": [ + { + "type": "Any", + "name": "p0" + }, + { + "type": "Any", + "name": "p1" + }, + { + "type": "Any", + "name": "p2" + }, + { + "type": "Any", + "name": "p3" + } + ], + "return_type": "void", + "build": "2545", + "old_names": [ + "_NETWORK_SPENT_SOURCE_BIKE_CONTACT_SERVICE" + ] + }, + "0xD86581F9E7CDA383": { + "name": "NETWORK_SPEND_COMP_SUV", + "jhash": "", + "comment": "", + "params": [ + { + "type": "Any", + "name": "p0" + }, + { + "type": "Any", + "name": "p1" + }, + { + "type": "Any", + "name": "p2" + }, + { + "type": "Any", + "name": "p3" + } + ], + "return_type": "void", + "build": "2545", + "old_names": [ + "_NETWORK_SPENT_COMPANY_SUV_CONTACT_SERVICE" + ] + }, + "0x61A2DF64ED2D396E": { + "name": "NETWORK_SPEND_SUV_FST_TRVL", + "jhash": "", + "comment": "", + "params": [ + { + "type": "int", + "name": "p0" + }, + { + "type": "BOOL", + "name": "p1" + }, + { + "type": "BOOL", + "name": "p2" + }, + { + "type": "Any", + "name": "p3" + } + ], + "return_type": "void", + "build": "2545", + "unused": true, + "old_names": [ + "_NETWORK_SPENT_SUV_FAST_TRAVEL" + ] + }, + "0xEBD482B82ACB8BAD": { + "name": "NETWORK_SPEND_SUPPLY", + "jhash": "", + "comment": "", + "params": [ + { + "type": "Any", + "name": "p0" + }, + { + "type": "Any", + "name": "p1" + }, + { + "type": "Any", + "name": "p2" + }, + { + "type": "Any", + "name": "p3" + } + ], + "return_type": "void", + "build": "2545", + "old_names": [ + "_NETWORK_SPENT_SUPPLY_CONTACT_SERVICE" + ] + }, + "0x923AEA8E78F8DF0B": { + "name": "NETWORK_SPEND_BIKE_SHOP", + "jhash": "", + "comment": "", + "params": [ + { + "type": "Any", + "name": "p0" + }, + { + "type": "Any", + "name": "p1" + }, + { + "type": "Any", + "name": "p2" + }, + { + "type": "Any", + "name": "p3" + } + ], + "return_type": "void", + "build": "2699", + "old_names": [ + "_NETWORK_SPENT_BIKE_SHOP_MODIFY" + ] + }, + "0x02D24A35A9CC3503": { + "name": "NETWORK_SPEND_VEHICLE_REQUESTED", + "jhash": "", + "comment": "", + "params": [ + { + "type": "Any", + "name": "p0" + }, + { + "type": "Any", + "name": "p1" + }, + { + "type": "Any", + "name": "p2" + }, + { + "type": "Any", + "name": "p3" + }, + { + "type": "Any", + "name": "p4" + } + ], + "return_type": "void", + "build": "2699", + "old_names": [ + "_NETWORK_SPENT_VEHICLE_REQUESTED" + ] + }, + "0x2CEB0E0BC2A77C05": { + "name": "NETWORK_SPEND_GUNRUNNING", + "jhash": "", + "comment": "", + "params": [ + { + "type": "Any", + "name": "p0" + }, + { + "type": "Any", + "name": "p1" + }, + { + "type": "Any", + "name": "p2" + }, + { + "type": "Any", + "name": "p3" + } + ], + "return_type": "void", + "build": "2699", + "old_names": [ + "_NETWORK_SPENT_GUNRUNNING_CONTACT_SERVICE" + ] + }, + "0x663B4B9D11742A12": { + "name": "NETWORK_EARN_AGENCY_SAFE", + "jhash": "", + "comment": "", + "params": [ + { + "type": "Any", + "name": "p0" + } + ], + "return_type": "void", + "build": "2545", + "old_names": [ + "_NETWORK_EARN_FROM_AGENCY_INCOME" + ] + }, + "0x146D4EB6D22A403F": { + "name": "NETWORK_EARN_AWARD_CONTRACT", + "jhash": "", + "comment": "", + "params": [ + { + "type": "Any", + "name": "p0" + }, + { + "type": "Any", + "name": "p1" + } + ], + "return_type": "void", + "build": "2545", + "old_names": [ + "_NETWORK_EARN_FROM_AWARD_SECURITY_CONTRACT" + ] + }, + "0x38482AD49CB905C7": { + "name": "NETWORK_EARN_AGENCY_CONTRACT", + "jhash": "", + "comment": "", + "params": [ + { + "type": "Any", + "name": "p0" + }, + { + "type": "Any", + "name": "p1" + } + ], + "return_type": "void", + "build": "2545", + "old_names": [ + "_NETWORK_EARN_FROM_AGENCY_SECURITY_CONTRACT" + ] + }, + "0x7397A115030F1BE3": { + "name": "NETWORK_EARN_AWARD_PHONE", + "jhash": "", + "comment": "", + "params": [ + { + "type": "Any", + "name": "p0" + }, + { + "type": "Any", + "name": "p1" + } + ], + "return_type": "void", + "build": "2545", + "old_names": [ + "_NETWORK_EARN_FROM_AWARD_PHONE_HIT" + ] + }, + "0xE29F3D5FA63B1B82": { + "name": "NETWORK_EARN_AGENCY_PHONE", + "jhash": "", + "comment": "", + "params": [ + { + "type": "Any", + "name": "p0" + }, + { + "type": "Any", + "name": "p1" + }, + { + "type": "Any", + "name": "p2" + } + ], + "return_type": "void", + "build": "2545", + "old_names": [ + "_NETWORK_EARN_FROM_AGENCY_PHONE_HIT" + ] + }, + "0x88D6C327D6C57C45": { + "name": "NETWORK_EARN_AWARD_FIXER_MISSION", + "jhash": "", + "comment": "", + "params": [ + { + "type": "Any", + "name": "p0" + }, + { + "type": "Any", + "name": "p1" + } + ], + "return_type": "void", + "build": "2545", + "old_names": [ + "_NETWORK_EARN_FROM_AWARD_AGENCY_STORY" + ] + }, + "0x6283E5DE4C4460C6": { + "name": "NETWORK_EARN_FIXER_PREP", + "jhash": "", + "comment": "", + "params": [ + { + "type": "Any", + "name": "p0" + }, + { + "type": "Any", + "name": "p1" + } + ], + "return_type": "void", + "build": "2545", + "old_names": [ + "_NETWORK_EARN_FROM_AGENCY_STORY_PREP" + ] + }, + "0xBA154373C5FE51E8": { + "name": "NETWORK_EARN_FIXER_FINALE", + "jhash": "", + "comment": "", + "params": [ + { + "type": "Any", + "name": "p0" + }, + { + "type": "Any", + "name": "p1" + } + ], + "return_type": "void", + "build": "2545", + "old_names": [ + "_NETWORK_EARN_FROM_AGENCY_STORY_FINALE" + ] + }, + "0xF4A8E57460BF2037": { + "name": "NETWORK_EARN_FIXER_AGENCY_SHORT_TRIP", + "jhash": "", + "comment": "", + "params": [ + { + "type": "Any", + "name": "p0" + }, + { + "type": "Any", + "name": "p1" + } + ], + "return_type": "void", + "build": "2545", + "old_names": [ + "_NETWORK_EARN_FROM_AGENCY_SHORT_TRIP" + ] + }, + "0x5B4DBDED84D6A420": { + "name": "NETWORK_EARN_AWARD_SHORT_TRIP", + "jhash": "", + "comment": "", + "params": [ + { + "type": "Any", + "name": "p0" + }, + { + "type": "Any", + "name": "p1" + } + ], + "return_type": "void", + "build": "2545", + "old_names": [ + "_NETWORK_EARN_FROM_AWARD_SHORT_TRIP" + ] + }, + "0x235D41210B3A1A5E": { + "name": "NETWORK_EARN_FIXER_RIVAL_DELIVERY", + "jhash": "", + "comment": "", + "params": [ + { + "type": "Any", + "name": "p0" + }, + { + "type": "Any", + "name": "p1" + } + ], + "return_type": "void", + "build": "2545", + "old_names": [ + "_NETWORK_EARN_RIVAL_DELIVERY_SECURITY_CONTRACT" + ] + }, + "0xD07C7C3F1995108C": { + "name": "NETWORK_EARN_UPGRADE_AGENCY", + "jhash": "", + "comment": "", + "params": [ + { + "type": "Any", + "name": "p0" + }, + { + "type": "Any", + "name": "p1" + } + ], + "return_type": "void", + "build": "2545", + "old_names": [ + "_NETWORK_EARN_FROM_UPGRADE_AGENCY_LOCATION" + ] + }, + "0x1254B5B3925EFD3D": { + "name": "NETWORK_SPEND_APARTMENT_UTILITIES", + "jhash": "", + "comment": "", + "params": [ + { + "type": "int", + "name": "amount" + }, + { + "type": "BOOL", + "name": "p1" + }, + { + "type": "BOOL", + "name": "p2" + }, + { + "type": "Any*", + "name": "data" + } + ], + "return_type": "void", + "build": "2545", + "old_names": [ + "_NETWORK_SPENT_AGGREGATED_UTILITY_BILLS" + ] + }, + "0x92D1CFDA1227FF1C": { + "name": "NETWORK_SPEND_BUSINESS_PROPERTY_FEES", + "jhash": "", + "comment": "", + "params": [ + { + "type": "Any", + "name": "p0" + }, + { + "type": "Any", + "name": "p1" + }, + { + "type": "Any", + "name": "p2" + }, + { + "type": "Any", + "name": "p3" + } + ], + "return_type": "void", + "build": "2545", + "old_names": [ + "_NETWORK_SPENT_BUSINESS_EXPENSES" + ] + }, + "0x45087AE480B233AC": { + "name": "NETWORK_EARN_SIGHTSEEING_REWARD", + "jhash": "", + "comment": "", + "params": [ + { + "type": "Any", + "name": "p0" + }, + { + "type": "Any", + "name": "p1" + }, + { + "type": "Any", + "name": "p2" + }, + { + "type": "Any", + "name": "p3" + } + ], + "return_type": "void", + "build": "2699", + "old_names": [ + "_NETWORK_EARN_FROM_SIGHTSEEING" + ] + }, + "0x2C5809EB9DF57257": { + "name": "NETWORK_EARN_BIKER_SHOP", + "jhash": "", + "comment": "", + "params": [ + { + "type": "Any", + "name": "p0" + }, + { + "type": "Any", + "name": "p1" + } + ], + "return_type": "void", + "build": "2699", + "old_names": [ + "_NETWORK_EARN_FROM_BIKE_SHOP_BUSINESS" + ] + }, + "0x71BEC32FA466E105": { + "name": "NETWORK_EARN_BIKER", + "jhash": "", + "comment": "", + "params": [ + { + "type": "Any", + "name": "p0" + } + ], + "return_type": "void", + "build": "2699", + "old_names": [ + "_NETWORK_EARN_FROM_BIKER_INCOME" + ] + }, + "0x59498BC8B1C8B15C": { + "name": "NETWORK_YOHAN_SOURCE_GOODS", + "jhash": "", + "comment": "", + "params": [ + { + "type": "Any", + "name": "p0" + }, + { + "type": "Any", + "name": "p1" + }, + { + "type": "Any", + "name": "p2" + }, + { + "type": "Any", + "name": "p3" + } + ], + "return_type": "void", + "build": "2699", "old_names": [ - "_NETWORK_SPENT_HIDDEN_CONTACT_SERVICE" + "_NETWORK_EARN_FROM_BUSINESS_HUB_SOURCE" ] }, - "0xD9DF467CBE4398C8": { - "name": "NETWORK_SPEND_SOURCE_BIKE", + "0xA2ED36DCF0FCA413": { + "name": "_0xA2ED36DCF0FCA413", "jhash": "", "comment": "", "params": [ @@ -47937,13 +48696,10 @@ } ], "return_type": "void", - "build": "2545", - "old_names": [ - "_NETWORK_SPENT_SOURCE_BIKE_CONTACT_SERVICE" - ] + "build": "2802" }, - "0xD86581F9E7CDA383": { - "name": "NETWORK_SPEND_COMP_SUV", + "0xCF8F346DDDC66643": { + "name": "_0xCF8F346DDDC66643", "jhash": "", "comment": "", "params": [ @@ -47965,42 +48721,19 @@ } ], "return_type": "void", - "build": "2545", - "old_names": [ - "_NETWORK_SPENT_COMPANY_SUV_CONTACT_SERVICE" - ] + "build": "2802" }, - "0x61A2DF64ED2D396E": { - "name": "NETWORK_SPEND_SUV_FST_TRVL", + "0xB48185C0CA67B16B": { + "name": "_0xB48185C0CA67B16B", "jhash": "", "comment": "", - "params": [ - { - "type": "int", - "name": "p0" - }, - { - "type": "BOOL", - "name": "p1" - }, - { - "type": "BOOL", - "name": "p2" - }, - { - "type": "Any", - "name": "p3" - } - ], - "return_type": "void", - "build": "2545", - "unused": true, - "old_names": [ - "_NETWORK_SPENT_SUV_FAST_TRAVEL" - ] + "params": [], + "return_type": "Any", + "build": "2802", + "unused": true }, - "0xEBD482B82ACB8BAD": { - "name": "NETWORK_SPEND_SUPPLY", + "0xF1E26A7924327152": { + "name": "_0xF1E26A7924327152", "jhash": "", "comment": "", "params": [ @@ -48022,13 +48755,10 @@ } ], "return_type": "void", - "build": "2545", - "old_names": [ - "_NETWORK_SPENT_SUPPLY_CONTACT_SERVICE" - ] + "build": "2802" }, - "0x923AEA8E78F8DF0B": { - "name": "NETWORK_SPEND_BIKE_SHOP", + "0x110EE9D486C23126": { + "name": "_0x110EE9D486C23126", "jhash": "", "comment": "", "params": [ @@ -48050,13 +48780,37 @@ } ], "return_type": "void", - "build": "2699", - "old_names": [ - "_NETWORK_SPENT_BIKE_SHOP_MODIFY" - ] + "build": "2802" }, - "0x02D24A35A9CC3503": { - "name": "NETWORK_SPEND_VEHICLE_REQUESTED", + "0xA7D541C9ACD63133": { + "name": "_0xA7D541C9ACD63133", + "jhash": "", + "comment": "", + "params": [], + "return_type": "Any", + "build": "2802", + "unused": true + }, + "0x2940558E05BCC2EC": { + "name": "_0x2940558E05BCC2EC", + "jhash": "", + "comment": "", + "params": [], + "return_type": "Any", + "build": "2802", + "unused": true + }, + "0x4B99AB08C92C54E4": { + "name": "_0x4B99AB08C92C54E4", + "jhash": "", + "comment": "", + "params": [], + "return_type": "Any", + "build": "2802", + "unused": true + }, + "0x842B1C5AF61ACDE9": { + "name": "_0x842B1C5AF61ACDE9", "jhash": "", "comment": "", "params": [ @@ -48075,20 +48829,13 @@ { "type": "Any", "name": "p3" - }, - { - "type": "Any", - "name": "p4" } ], "return_type": "void", - "build": "2699", - "old_names": [ - "_NETWORK_SPENT_VEHICLE_REQUESTED" - ] + "build": "2802" }, - "0x2CEB0E0BC2A77C05": { - "name": "NETWORK_SPEND_GUNRUNNING", + "0x446798F7495DD7D8": { + "name": "_0x446798F7495DD7D8", "jhash": "", "comment": "", "params": [ @@ -48110,29 +48857,27 @@ } ], "return_type": "void", - "build": "2699", - "old_names": [ - "_NETWORK_SPENT_GUNRUNNING_CONTACT_SERVICE" - ] + "build": "2802" }, - "0x663B4B9D11742A12": { - "name": "NETWORK_EARN_AGENCY_SAFE", + "0xDDF047577F1A02A7": { + "name": "_0xDDF047577F1A02A7", "jhash": "", "comment": "", "params": [ { "type": "Any", "name": "p0" + }, + { + "type": "Any", + "name": "p1" } ], "return_type": "void", - "build": "2545", - "old_names": [ - "_NETWORK_EARN_FROM_AGENCY_INCOME" - ] + "build": "2802" }, - "0x146D4EB6D22A403F": { - "name": "NETWORK_EARN_AWARD_CONTRACT", + "0xD1A8165767AD2D23": { + "name": "_0xD1A8165767AD2D23", "jhash": "", "comment": "", "params": [ @@ -48146,13 +48891,10 @@ } ], "return_type": "void", - "build": "2545", - "old_names": [ - "_NETWORK_EARN_FROM_AWARD_SECURITY_CONTRACT" - ] + "build": "2802" }, - "0x38482AD49CB905C7": { - "name": "NETWORK_EARN_AGENCY_CONTRACT", + "0xC30650FA74A19D02": { + "name": "_0xC30650FA74A19D02", "jhash": "", "comment": "", "params": [ @@ -48166,13 +48908,10 @@ } ], "return_type": "void", - "build": "2545", - "old_names": [ - "_NETWORK_EARN_FROM_AGENCY_SECURITY_CONTRACT" - ] + "build": "2802" }, - "0x7397A115030F1BE3": { - "name": "NETWORK_EARN_AWARD_PHONE", + "0xD01EBAEA1F905EF6": { + "name": "_0xD01EBAEA1F905EF6", "jhash": "", "comment": "", "params": [ @@ -48186,13 +48925,10 @@ } ], "return_type": "void", - "build": "2545", - "old_names": [ - "_NETWORK_EARN_FROM_AWARD_PHONE_HIT" - ] + "build": "2802" }, - "0xE29F3D5FA63B1B82": { - "name": "NETWORK_EARN_AGENCY_PHONE", + "0xBEAFBB1B98B7EF55": { + "name": "_0xBEAFBB1B98B7EF55", "jhash": "", "comment": "", "params": [ @@ -48203,20 +48939,13 @@ { "type": "Any", "name": "p1" - }, - { - "type": "Any", - "name": "p2" } ], "return_type": "void", - "build": "2545", - "old_names": [ - "_NETWORK_EARN_FROM_AGENCY_PHONE_HIT" - ] + "build": "2802" }, - "0x88D6C327D6C57C45": { - "name": "NETWORK_EARN_AWARD_FIXER_MISSION", + "0xA914768AD35CD3A5": { + "name": "_0xA914768AD35CD3A5", "jhash": "", "comment": "", "params": [ @@ -48230,13 +48959,10 @@ } ], "return_type": "void", - "build": "2545", - "old_names": [ - "_NETWORK_EARN_FROM_AWARD_AGENCY_STORY" - ] + "build": "2802" }, - "0x6283E5DE4C4460C6": { - "name": "NETWORK_EARN_FIXER_PREP", + "0xA81017EE1324FDFE": { + "name": "_0xA81017EE1324FDFE", "jhash": "", "comment": "", "params": [ @@ -48250,13 +48976,10 @@ } ], "return_type": "void", - "build": "2545", - "old_names": [ - "_NETWORK_EARN_FROM_AGENCY_STORY_PREP" - ] + "build": "2802" }, - "0xBA154373C5FE51E8": { - "name": "NETWORK_EARN_FIXER_FINALE", + "0x79B656937DF6DF5D": { + "name": "_0x79B656937DF6DF5D", "jhash": "", "comment": "", "params": [ @@ -48270,13 +48993,10 @@ } ], "return_type": "void", - "build": "2545", - "old_names": [ - "_NETWORK_EARN_FROM_AGENCY_STORY_FINALE" - ] + "build": "2802" }, - "0xF4A8E57460BF2037": { - "name": "NETWORK_EARN_FIXER_AGENCY_SHORT_TRIP", + "0xE3942D59E8A7F70D": { + "name": "_0xE3942D59E8A7F70D", "jhash": "", "comment": "", "params": [ @@ -48290,13 +49010,10 @@ } ], "return_type": "void", - "build": "2545", - "old_names": [ - "_NETWORK_EARN_FROM_AGENCY_SHORT_TRIP" - ] + "build": "2802" }, - "0x5B4DBDED84D6A420": { - "name": "NETWORK_EARN_AWARD_SHORT_TRIP", + "0x136F11B5DF1B304D": { + "name": "_0x136F11B5DF1B304D", "jhash": "", "comment": "", "params": [ @@ -48310,13 +49027,10 @@ } ], "return_type": "void", - "build": "2545", - "old_names": [ - "_NETWORK_EARN_FROM_AWARD_SHORT_TRIP" - ] + "build": "2802" }, - "0x235D41210B3A1A5E": { - "name": "NETWORK_EARN_FIXER_RIVAL_DELIVERY", + "0xCA3EF9B09A8D76B4": { + "name": "_0xCA3EF9B09A8D76B4", "jhash": "", "comment": "", "params": [ @@ -48330,13 +49044,10 @@ } ], "return_type": "void", - "build": "2545", - "old_names": [ - "_NETWORK_EARN_RIVAL_DELIVERY_SECURITY_CONTRACT" - ] + "build": "2802" }, - "0xD07C7C3F1995108C": { - "name": "NETWORK_EARN_UPGRADE_AGENCY", + "0xE01D10BA8CD53621": { + "name": "_0xE01D10BA8CD53621", "jhash": "", "comment": "", "params": [ @@ -48350,41 +49061,27 @@ } ], "return_type": "void", - "build": "2545", - "old_names": [ - "_NETWORK_EARN_FROM_UPGRADE_AGENCY_LOCATION" - ] + "build": "2802" }, - "0x1254B5B3925EFD3D": { - "name": "NETWORK_SPEND_APARTMENT_UTILITIES", + "0x40FF6CCCC476185C": { + "name": "_0x40FF6CCCC476185C", "jhash": "", "comment": "", "params": [ { - "type": "int", - "name": "amount" + "type": "Any", + "name": "p0" }, { - "type": "BOOL", + "type": "Any", "name": "p1" - }, - { - "type": "BOOL", - "name": "p2" - }, - { - "type": "Any*", - "name": "data" } ], "return_type": "void", - "build": "2545", - "old_names": [ - "_NETWORK_SPENT_AGGREGATED_UTILITY_BILLS" - ] + "build": "2802" }, - "0x92D1CFDA1227FF1C": { - "name": "NETWORK_SPEND_BUSINESS_PROPERTY_FEES", + "0xCE4452AE85F5E252": { + "name": "_0xCE4452AE85F5E252", "jhash": "", "comment": "", "params": [ @@ -48395,24 +49092,13 @@ { "type": "Any", "name": "p1" - }, - { - "type": "Any", - "name": "p2" - }, - { - "type": "Any", - "name": "p3" } ], "return_type": "void", - "build": "2545", - "old_names": [ - "_NETWORK_SPENT_BUSINESS_EXPENSES" - ] + "build": "2802" }, - "0x45087AE480B233AC": { - "name": "NETWORK_EARN_SIGHTSEEING_REWARD", + "0xC376B92D0E060970": { + "name": "_0xC376B92D0E060970", "jhash": "", "comment": "", "params": [ @@ -48423,24 +49109,13 @@ { "type": "Any", "name": "p1" - }, - { - "type": "Any", - "name": "p2" - }, - { - "type": "Any", - "name": "p3" } ], "return_type": "void", - "build": "2699", - "old_names": [ - "_NETWORK_EARN_FROM_SIGHTSEEING" - ] + "build": "2802" }, - "0x2C5809EB9DF57257": { - "name": "NETWORK_EARN_BIKER_SHOP", + "0x991E1588FAD9019D": { + "name": "_0x991E1588FAD9019D", "jhash": "", "comment": "", "params": [ @@ -48454,29 +49129,27 @@ } ], "return_type": "void", - "build": "2699", - "old_names": [ - "_NETWORK_EARN_FROM_BIKE_SHOP_BUSINESS" - ] + "build": "2802" }, - "0x71BEC32FA466E105": { - "name": "NETWORK_EARN_BIKER", + "0xCABC9874AFA70D6D": { + "name": "_0xCABC9874AFA70D6D", "jhash": "", "comment": "", "params": [ { "type": "Any", "name": "p0" + }, + { + "type": "Any", + "name": "p1" } ], "return_type": "void", - "build": "2699", - "old_names": [ - "_NETWORK_EARN_FROM_BIKER_INCOME" - ] + "build": "2802" }, - "0x59498BC8B1C8B15C": { - "name": "NETWORK_YOHAN_SOURCE_GOODS", + "0x9C0C6BD0F94CE391": { + "name": "_0x9C0C6BD0F94CE391", "jhash": "", "comment": "", "params": [ @@ -48487,21 +49160,10 @@ { "type": "Any", "name": "p1" - }, - { - "type": "Any", - "name": "p2" - }, - { - "type": "Any", - "name": "p3" } ], "return_type": "void", - "build": "2699", - "old_names": [ - "_NETWORK_EARN_FROM_BUSINESS_HUB_SOURCE" - ] + "build": "2802" }, "0x76EF28DA05EA395A": { "name": "NETWORK_GET_VC_BANK_BALANCE", @@ -52700,6 +53362,23 @@ "_NETWORK_GET_RANDOM_INT_IN_RANGE" ] }, + "0x04BD27B5ACB67067": { + "name": "_0x04BD27B5ACB67067", + "jhash": "", + "comment": "", + "params": [ + { + "type": "Any", + "name": "p0" + }, + { + "type": "Any", + "name": "p1" + } + ], + "return_type": "Any", + "build": "2802" + }, "0x655B91F1495A9090": { "name": "NETWORK_PLAYER_IS_CHEATER", "jhash": "0xA51DC214", @@ -53532,6 +54211,19 @@ "_NETWORK_SET_CURRENT_MISSION_ID" ] }, + "0x3DAD00265FBF356B": { + "name": "_0x3DAD00265FBF356B", + "jhash": "", + "comment": "", + "params": [ + { + "type": "Any", + "name": "p0" + } + ], + "return_type": "void", + "build": "2802" + }, "0xAA6D5451DC3448B6": { "name": "NETWORK_SET_CURRENT_SPAWN_LOCATION_OPTION", "jhash": "", @@ -54617,6 +55309,19 @@ "return_type": "void", "build": "372" }, + "0xAD4326FCA30D62F8": { + "name": "_0xAD4326FCA30D62F8", + "jhash": "", + "comment": "", + "params": [ + { + "type": "Any", + "name": "p0" + } + ], + "return_type": "Any", + "build": "2802" + }, "0xB309EBEA797E001F": { "name": "NETWORK_SET_SCRIPT_AUTOMUTED", "jhash": "0x5C0AB2A9", @@ -56218,6 +56923,23 @@ "_NETWORK_CAN_NETWORK_ID_BE_SEEN" ] }, + "0x96320E6549DAE7B4": { + "name": "_0x96320E6549DAE7B4", + "jhash": "", + "comment": "", + "params": [ + { + "type": "Any", + "name": "p0" + }, + { + "type": "Any", + "name": "p1" + } + ], + "return_type": "void", + "build": "2802" + }, "0xD1065D68947E7B6E": { "name": "SET_LOCAL_PLAYER_VISIBLE_IN_CUTSCENE", "jhash": "0x59F3479B", @@ -57271,6 +57993,19 @@ "return_type": "void", "build": "323" }, + "0xDD7CEF5B3A4DA8A6": { + "name": "_0xDD7CEF5B3A4DA8A6", + "jhash": "", + "comment": "", + "params": [ + { + "type": "Any", + "name": "p0" + } + ], + "return_type": "Any", + "build": "2802" + }, "0x6274C4712850841E": { "name": "SET_NETWORK_VEHICLE_AS_GHOST", "jhash": "0xEA235081", @@ -66372,6 +67107,19 @@ "return_type": "BOOL", "build": "323" }, + "0xC2AB6BFE34E92F8B": { + "name": "_0xC2AB6BFE34E92F8B", + "jhash": "", + "comment": "", + "params": [ + { + "type": "Any", + "name": "p0" + } + ], + "return_type": "Any", + "build": "2802" + }, "0x228E5C6AD4D74BFD": { "name": "SET_ALLOW_STREAM_PROLOGUE_NODES", "jhash": "0xD6A3B458", @@ -72851,6 +73599,10 @@ { "type": "int", "name": "componentId" + }, + { + "type": "Any", + "name": "p2" } ], "return_type": "int", @@ -72880,6 +73632,10 @@ { "type": "BOOL", "name": "attach" + }, + { + "type": "Any", + "name": "p5" } ], "return_type": "void", @@ -72926,6 +73682,10 @@ { "type": "int", "name": "propId" + }, + { + "type": "Any", + "name": "p2" } ], "return_type": "void", @@ -72939,6 +73699,10 @@ { "type": "Ped", "name": "ped" + }, + { + "type": "Any", + "name": "p1" } ], "return_type": "void", @@ -74393,6 +75157,23 @@ "return_type": "void", "build": "323" }, + "0xAC0BB4D87777CAE2": { + "name": "_0xAC0BB4D87777CAE2", + "jhash": "", + "comment": "", + "params": [ + { + "type": "Any", + "name": "p0" + }, + { + "type": "Any", + "name": "p1" + } + ], + "return_type": "void", + "build": "2802" + }, "0x6585D955A68452A5": { "name": "CLEAR_PED_ENV_DIRT", "jhash": "0xA993915F", @@ -74975,6 +75756,19 @@ "return_type": "BOOL", "build": "1868" }, + "0x007FDE5A7897E426": { + "name": "_0x007FDE5A7897E426", + "jhash": "", + "comment": "", + "params": [ + { + "type": "Any", + "name": "p0" + } + ], + "return_type": "void", + "build": "2802" + }, "0xE1E65CA8AC9C00ED": { "name": "PLAY_FACIAL_ANIM", "jhash": "0x1F6CCDDE", @@ -82030,6 +82824,19 @@ "_SET_PLAYER_HEALTH_RECHARGE_LIMIT" ] }, + "0xBCB06442F7E52666": { + "name": "_0xBCB06442F7E52666", + "jhash": "", + "comment": "", + "params": [ + { + "type": "Any", + "name": "p0" + } + ], + "return_type": "void", + "build": "2802" + }, "0xEFD79FA81DFBA9CB": { "name": "SET_PLAYER_FALL_DISTANCE_TO_TRIGGER_RAGDOLL_OVERRIDE", "jhash": "", @@ -87773,6 +88580,27 @@ "_PLAYSTATS_PEGASAIRCRAFT" ] }, + "0xF96E9EA876D9DC92": { + "name": "_0xF96E9EA876D9DC92", + "jhash": "", + "comment": "", + "params": [ + { + "type": "Any", + "name": "p0" + }, + { + "type": "Any", + "name": "p1" + }, + { + "type": "Any", + "name": "p2" + } + ], + "return_type": "void", + "build": "2802" + }, "0x6A60E43998228229": { "name": "PLAYSTATS_FM_EVENT_CHALLENGES", "jhash": "", @@ -90236,6 +91064,10 @@ { "type": "Any", "name": "p6" + }, + { + "type": "Any", + "name": "p7" } ], "return_type": "void", @@ -91152,6 +91984,34 @@ { "type": "Any", "name": "p5" + }, + { + "type": "Any", + "name": "p6" + }, + { + "type": "Any", + "name": "p7" + }, + { + "type": "Any", + "name": "p8" + }, + { + "type": "Any", + "name": "p9" + }, + { + "type": "Any", + "name": "p10" + }, + { + "type": "Any", + "name": "p11" + }, + { + "type": "Any", + "name": "p12" } ], "return_type": "void", @@ -91464,6 +92324,14 @@ { "type": "Any", "name": "p8" + }, + { + "type": "Any", + "name": "p9" + }, + { + "type": "Any", + "name": "p10" } ], "return_type": "void", @@ -91628,6 +92496,14 @@ { "type": "Any", "name": "p1" + }, + { + "type": "Any", + "name": "p2" + }, + { + "type": "Any", + "name": "p3" } ], "return_type": "void", @@ -91683,6 +92559,66 @@ "old_names": [ "_PLAYSTATS_INVENTORY" ] + }, + "0x8A23D1324F6B2BAC": { + "name": "_0x8A23D1324F6B2BAC", + "jhash": "", + "comment": "", + "params": [ + { + "type": "Any", + "name": "p0" + } + ], + "return_type": "void", + "build": "2802" + }, + "0xCEACCF0550FDC5BA": { + "name": "_0xCEACCF0550FDC5BA", + "jhash": "", + "comment": "", + "params": [ + { + "type": "Any", + "name": "p0" + } + ], + "return_type": "void", + "build": "2802" + }, + "0xEC9553A178E8F1D1": { + "name": "_0xEC9553A178E8F1D1", + "jhash": "", + "comment": "", + "params": [ + { + "type": "Any", + "name": "p0" + }, + { + "type": "Any", + "name": "p1" + }, + { + "type": "Any", + "name": "p2" + } + ], + "return_type": "void", + "build": "2802" + }, + "0x48FAC5DC7AC6EA99": { + "name": "_0x48FAC5DC7AC6EA99", + "jhash": "", + "comment": "", + "params": [ + { + "type": "Any", + "name": "p0" + } + ], + "return_type": "void", + "build": "2802" } }, "STREAMING": { @@ -102591,6 +103527,23 @@ "return_type": "void", "build": "944" }, + "0x85FC953F6C6CBDE1": { + "name": "_0x85FC953F6C6CBDE1", + "jhash": "", + "comment": "", + "params": [ + { + "type": "Any", + "name": "p0" + }, + { + "type": "Any", + "name": "p1" + } + ], + "return_type": "void", + "build": "2802" + }, "0x75DBEC174AEEAD10": { "name": "SET_BOAT_ANCHOR", "jhash": "0xA3906284", @@ -103096,6 +104049,19 @@ "_IS_VEHICLE_BEING_HALTED" ] }, + "0x923A293361DF44E5": { + "name": "_0x923A293361DF44E5", + "jhash": "", + "comment": "", + "params": [ + { + "type": "Any", + "name": "p0" + } + ], + "return_type": "void", + "build": "2802" + }, "0x37EBBF3117BD6A25": { "name": "SET_FORKLIFT_FORK_HEIGHT", "jhash": "0x943A6CFC", @@ -108120,6 +109086,23 @@ "return_type": "void", "build": "323" }, + "0x5815BD2763178DF4": { + "name": "_0x5815BD2763178DF4", + "jhash": "", + "comment": "", + "params": [ + { + "type": "Any", + "name": "p0" + }, + { + "type": "Any", + "name": "p1" + } + ], + "return_type": "void", + "build": "2802" + }, "0x684785568EF26A22": { "name": "SET_VEHICLE_HANDBRAKE", "jhash": "0xBA729A25", @@ -108216,6 +109199,19 @@ "return_type": "BOOL", "build": "323" }, + "0x80D9D32636369C92": { + "name": "_0x80D9D32636369C92", + "jhash": "", + "comment": "", + "params": [ + { + "type": "Any", + "name": "p0" + } + ], + "return_type": "Any", + "build": "2802" + }, "0xCAC66558B944DA67": { "name": "SET_VEHICLE_USES_LARGE_REAR_RAMP", "jhash": "0x0B200CE2", @@ -117082,4 +118078,4 @@ "build": "323" } } -} +} \ No newline at end of file From 91fd9f8f7e3f67e5f8f8a19c5695178075c2fe93 Mon Sep 17 00:00:00 2001 From: alloc8or <15351559+alloc8or@users.noreply.github.com> Date: Sat, 17 Dec 2022 06:43:45 +0100 Subject: [PATCH 15/29] fix some wrong/outdated data due to spaghetti code --- natives.json | 33 +++------------------------------ 1 file changed, 3 insertions(+), 30 deletions(-) diff --git a/natives.json b/natives.json index 71ebbd1..f996224 100755 --- a/natives.json +++ b/natives.json @@ -15509,7 +15509,7 @@ "name": "p1" } ], - "return_type": "Any", + "return_type": "Vector3", "build": "2802" }, "0xB328DCC3A3AA401B": { @@ -46067,14 +46067,6 @@ { "type": "Any", "name": "p3" - }, - { - "type": "Any", - "name": "p4" - }, - { - "type": "Any", - "name": "p5" } ], "return_type": "void", @@ -50570,7 +50562,7 @@ "0x330ED4D05491934F": { "name": "NETWORK_SESSION_DO_FREEROAM_QUICKMATCH", "jhash": "", - "comment": "unknown params\n\np0 = 0, 2, or 999 (The global is 999 by default.)\np1 = 0 (Always in every script it's found in atleast.)\np2 = 0, 3, or 4 (Based on a var that is determined by a function.)\np3 = maxPlayers (It's obvious in x360 scripts it's always 18)\np4 = 0 (Always in every script it's found in atleast.)\np5 = 0 or 1. (1 if network_can_enter_multiplayer, but set to 0 if other checks after that are passed.)\np5 is reset to 0 if,\nGlobal_1315318 = 0 or Global_1315323 = 9 or 12 or (Global_1312629 = 0 && Global_1312631 = true/1) those are passed.", + "comment": "", "params": [ { "type": "Any", @@ -50587,21 +50579,10 @@ { "type": "int", "name": "maxPlayers" - }, - { - "type": "Any", - "name": "p4" - }, - { - "type": "Any", - "name": "p5" } ], "return_type": "BOOL", - "build": "323", - "old_names": [ - "NETWORK_SESSION_ENTER" - ] + "build": "323" }, "0x2CFC76E0D087C994": { "name": "NETWORK_SESSION_DO_FRIEND_MATCHMAKING", @@ -50619,10 +50600,6 @@ { "type": "int", "name": "maxPlayers" - }, - { - "type": "BOOL", - "name": "p3" } ], "return_type": "BOOL", @@ -50651,10 +50628,6 @@ { "type": "int", "name": "maxPlayers" - }, - { - "type": "BOOL", - "name": "p4" } ], "return_type": "BOOL", From 74d4dd66d6d7f6a2bff7663eca39c0db795e0799 Mon Sep 17 00:00:00 2001 From: fingaweg <28874761+fingaweg@users.noreply.github.com> Date: Mon, 19 Dec 2022 04:57:40 +0100 Subject: [PATCH 16/29] b2802 research --- natives.json | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/natives.json b/natives.json index f996224..c04b043 100755 --- a/natives.json +++ b/natives.json @@ -88554,7 +88554,7 @@ ] }, "0xF96E9EA876D9DC92": { - "name": "_0xF96E9EA876D9DC92", + "name": "_PLAYSTATS_SHOPMENU_NAV", "jhash": "", "comment": "", "params": [ @@ -92534,7 +92534,7 @@ ] }, "0x8A23D1324F6B2BAC": { - "name": "_0x8A23D1324F6B2BAC", + "name": "_PLAYSTATS_ACID_MISSION_END", "jhash": "", "comment": "", "params": [ @@ -92547,7 +92547,7 @@ "build": "2802" }, "0xCEACCF0550FDC5BA": { - "name": "_0xCEACCF0550FDC5BA", + "name": "_PLAYSTATS_ACID_RND", "jhash": "", "comment": "", "params": [ @@ -92560,7 +92560,7 @@ "build": "2802" }, "0xEC9553A178E8F1D1": { - "name": "_0xEC9553A178E8F1D1", + "name": "_PLAYSTATS_IDLE", "jhash": "", "comment": "", "params": [ @@ -92581,7 +92581,7 @@ "build": "2802" }, "0x48FAC5DC7AC6EA99": { - "name": "_0x48FAC5DC7AC6EA99", + "name": "_PLAYSTATS_PLAYER_STYLE", "jhash": "", "comment": "", "params": [ @@ -109060,16 +109060,16 @@ "build": "323" }, "0x5815BD2763178DF4": { - "name": "_0x5815BD2763178DF4", + "name": "_SET_VEHICLE_STRONG_DOORS", "jhash": "", "comment": "", "params": [ { - "type": "Any", - "name": "p0" + "type": "Vehicle", + "name": "vehicle" }, { - "type": "Any", + "type": "BOOL", "name": "p1" } ], From e8e281b4bd2e100ddc46ec8a860e712b816e617c Mon Sep 17 00:00:00 2001 From: alloc8or <15351559+alloc8or@users.noreply.github.com> Date: Tue, 20 Dec 2022 11:30:49 +0100 Subject: [PATCH 17/29] b2802 names --- natives.json | 350 ++++++++++++++++++++++++++++++--------------------- 1 file changed, 209 insertions(+), 141 deletions(-) diff --git a/natives.json b/natives.json index c04b043..ec3e48a 100755 --- a/natives.json +++ b/natives.json @@ -9818,11 +9818,11 @@ "build": "1734" }, "0x5D583F71C901F2A3": { - "name": "_0x5D583F71C901F2A3", + "name": "GET_CUTSCENE_PLAY_DURATION", "jhash": "", "comment": "", "params": [], - "return_type": "Any", + "return_type": "int", "build": "2802" }, "0x40C8656EDAEDD569": { @@ -11996,16 +11996,16 @@ "build": "323" }, "0xA75EE4F689B85391": { - "name": "_0xA75EE4F689B85391", + "name": "_GET_LAST_ENTITY_HIT_BY_ENTITY", "jhash": "", "comment": "", "params": [ { - "type": "Any", - "name": "p0" + "type": "Entity", + "name": "entity" } ], - "return_type": "Any", + "return_type": "Entity", "build": "2802" }, "0x5C3D0A935F535C4C": { @@ -15496,17 +15496,17 @@ ] }, "0xCF1247CC86961FD6": { - "name": "_0xCF1247CC86961FD6", + "name": "GET_ENTITY_BONE_OBJECT_POSTION", "jhash": "", "comment": "", "params": [ { - "type": "Any", - "name": "p0" + "type": "Entity", + "name": "entity" }, { - "type": "Any", - "name": "p1" + "type": "int", + "name": "boneIndex" } ], "return_type": "Vector3", @@ -22133,13 +22133,13 @@ "build": "323" }, "0xB7EF5850C39FABCA": { - "name": "_0xB7EF5850C39FABCA", + "name": "SET_PARTICLE_FX_NON_LOOPED_SCALE", "jhash": "", "comment": "", "params": [ { - "type": "Any", - "name": "p0" + "type": "float", + "name": "scale" } ], "return_type": "void", @@ -23061,25 +23061,25 @@ "build": "2545" }, "0x170911F37F646F29": { - "name": "_0x170911F37F646F29", + "name": "REGISTER_POSTFX_BULLET_IMPACT", "jhash": "", "comment": "", "params": [ { - "type": "Any", - "name": "p0" + "type": "float", + "name": "weaponWorldPosX" }, { - "type": "Any", - "name": "p1" + "type": "float", + "name": "weaponWorldPosY" }, { - "type": "Any", - "name": "p2" + "type": "float", + "name": "weaponWorldPosZ" }, { - "type": "Any", - "name": "p3" + "type": "float", + "name": "intensity" } ], "return_type": "void", @@ -29958,17 +29958,17 @@ ] }, "0x19BD6E3C0E16A8FA": { - "name": "_0x19BD6E3C0E16A8FA", + "name": "SHOW_FOR_SALE_ICON_ON_BLIP", "jhash": "", "comment": "", "params": [ { - "type": "Any", - "name": "p0" + "type": "Blip", + "name": "blip" }, { - "type": "Any", - "name": "p1" + "type": "BOOL", + "name": "toggle" } ], "return_type": "void", @@ -30569,7 +30569,7 @@ ] }, "0x89DA85D949CE57A0": { - "name": "_0x89DA85D949CE57A0", + "name": "DONT_ZOOM_MINIMAP_WHEN_RUNNING_THIS_FRAME", "jhash": "", "comment": "", "params": [], @@ -37158,11 +37158,11 @@ "build": "323" }, "0xD19C0826DC20CF1C": { - "name": "_0xD19C0826DC20CF1C", + "name": "ARE_CREDITS_RUNNING", "jhash": "", "comment": "", "params": [], - "return_type": "Any", + "return_type": "BOOL", "build": "2802" }, "0x9DC711BC69C548DF": { @@ -38362,52 +38362,52 @@ ] }, "0x3DA8C28346B62CED": { - "name": "_0x3DA8C28346B62CED", + "name": "GET_COORDS_OF_PROJECTILE_TYPE_IN_ANGLED_AREA", "jhash": "", "comment": "", "params": [ { - "type": "Any", - "name": "p0" + "type": "float", + "name": "vecAngledAreaPoint1X" }, { - "type": "Any", - "name": "p1" + "type": "float", + "name": "vecAngledAreaPoint1Y" }, { - "type": "Any", - "name": "p2" + "type": "float", + "name": "vecAngledAreaPoint1Z" }, { - "type": "Any", - "name": "p3" + "type": "float", + "name": "vecAngledAreaPoint2X" }, { - "type": "Any", - "name": "p4" + "type": "float", + "name": "vecAngledAreaPoint2Y" }, { - "type": "Any", - "name": "p5" + "type": "float", + "name": "vecAngledAreaPoint2Z" }, { - "type": "Any", - "name": "p6" + "type": "float", + "name": "distanceOfOppositeFace" }, { - "type": "Any", - "name": "p7" + "type": "Hash", + "name": "weaponType" }, { - "type": "Any", - "name": "p8" + "type": "Vector3*", + "name": "positionOut" }, { - "type": "Any", - "name": "p9" + "type": "BOOL", + "name": "bIsPlayer" } ], - "return_type": "Any", + "return_type": "BOOL", "build": "2802" }, "0xDFB4138EEFED7B81": { @@ -48666,7 +48666,7 @@ ] }, "0xA2ED36DCF0FCA413": { - "name": "_0xA2ED36DCF0FCA413", + "name": "_NETWORK_SPEND_BUY_MFGARAGE", "jhash": "", "comment": "", "params": [ @@ -48691,7 +48691,7 @@ "build": "2802" }, "0xCF8F346DDDC66643": { - "name": "_0xCF8F346DDDC66643", + "name": "_NETWORK_SPEND_UPGRADE_MFGARAGE", "jhash": "", "comment": "", "params": [ @@ -48716,16 +48716,33 @@ "build": "2802" }, "0xB48185C0CA67B16B": { - "name": "_0xB48185C0CA67B16B", + "name": "_NETWORK_SPEND_BUY_SUPPLIES", "jhash": "", "comment": "", - "params": [], - "return_type": "Any", + "params": [ + { + "type": "int", + "name": "p0" + }, + { + "type": "BOOL", + "name": "p1" + }, + { + "type": "BOOL", + "name": "p2" + }, + { + "type": "int", + "name": "p3" + } + ], + "return_type": "void", "build": "2802", "unused": true }, "0xF1E26A7924327152": { - "name": "_0xF1E26A7924327152", + "name": "_NETWORK_SPEND_BUY_ACID_LAB", "jhash": "", "comment": "", "params": [ @@ -48750,7 +48767,7 @@ "build": "2802" }, "0x110EE9D486C23126": { - "name": "_0x110EE9D486C23126", + "name": "_NETWORK_SPEND_UPGRADE_ACID_LAB_EQUIPMENT", "jhash": "", "comment": "", "params": [ @@ -48775,34 +48792,85 @@ "build": "2802" }, "0xA7D541C9ACD63133": { - "name": "_0xA7D541C9ACD63133", + "name": "_NETWORK_SPEND_UPGRADE_ACID_LAB_ARMOR", "jhash": "", "comment": "", - "params": [], - "return_type": "Any", + "params": [ + { + "type": "int", + "name": "p0" + }, + { + "type": "BOOL", + "name": "p1" + }, + { + "type": "BOOL", + "name": "p2" + }, + { + "type": "int", + "name": "p3" + } + ], + "return_type": "void", "build": "2802", "unused": true }, "0x2940558E05BCC2EC": { - "name": "_0x2940558E05BCC2EC", + "name": "_NETWORK_SPEND_UPGRADE_ACID_LAB_SCOOP", "jhash": "", "comment": "", - "params": [], - "return_type": "Any", + "params": [ + { + "type": "int", + "name": "p0" + }, + { + "type": "BOOL", + "name": "p1" + }, + { + "type": "BOOL", + "name": "p2" + }, + { + "type": "int", + "name": "p3" + } + ], + "return_type": "void", "build": "2802", "unused": true }, "0x4B99AB08C92C54E4": { - "name": "_0x4B99AB08C92C54E4", + "name": "_NETWORK_SPEND_UPGRADE_ACID_LAB_MINES", "jhash": "", "comment": "", - "params": [], - "return_type": "Any", + "params": [ + { + "type": "int", + "name": "p0" + }, + { + "type": "BOOL", + "name": "p1" + }, + { + "type": "BOOL", + "name": "p2" + }, + { + "type": "int", + "name": "p3" + } + ], + "return_type": "void", "build": "2802", "unused": true }, "0x842B1C5AF61ACDE9": { - "name": "_0x842B1C5AF61ACDE9", + "name": "_NETWORK_SPEND_RENAME_ACID_LAB", "jhash": "", "comment": "", "params": [ @@ -48827,7 +48895,7 @@ "build": "2802" }, "0x446798F7495DD7D8": { - "name": "_0x446798F7495DD7D8", + "name": "_NETWORK_SPEND_RENAME_ACID_PRODUCT", "jhash": "", "comment": "", "params": [ @@ -48852,7 +48920,7 @@ "build": "2802" }, "0xDDF047577F1A02A7": { - "name": "_0xDDF047577F1A02A7", + "name": "_NETWORK_EARN_AWARD_JUGGALO_MISSION", "jhash": "", "comment": "", "params": [ @@ -48869,7 +48937,7 @@ "build": "2802" }, "0xD1A8165767AD2D23": { - "name": "_0xD1A8165767AD2D23", + "name": "_NETWORK_EARN_AWARD_ACID_LAB", "jhash": "", "comment": "", "params": [ @@ -48886,7 +48954,7 @@ "build": "2802" }, "0xC30650FA74A19D02": { - "name": "_0xC30650FA74A19D02", + "name": "_NETWORK_EARN_AWARD_DAILY_STASH", "jhash": "", "comment": "", "params": [ @@ -48903,7 +48971,7 @@ "build": "2802" }, "0xD01EBAEA1F905EF6": { - "name": "_0xD01EBAEA1F905EF6", + "name": "_NETWORK_EARN_AWARD_DEAD_DROP", "jhash": "", "comment": "", "params": [ @@ -48920,7 +48988,7 @@ "build": "2802" }, "0xBEAFBB1B98B7EF55": { - "name": "_0xBEAFBB1B98B7EF55", + "name": "_NETWORK_EARN_AWARD_RANDOM_EVENT", "jhash": "", "comment": "", "params": [ @@ -48937,7 +49005,7 @@ "build": "2802" }, "0xA914768AD35CD3A5": { - "name": "_0xA914768AD35CD3A5", + "name": "_NETWORK_EARN_AWARD_TAXI", "jhash": "", "comment": "", "params": [ @@ -48954,7 +49022,7 @@ "build": "2802" }, "0xA81017EE1324FDFE": { - "name": "_0xA81017EE1324FDFE", + "name": "_NETWORK_EARN_STREET_DEALER", "jhash": "", "comment": "", "params": [ @@ -48971,7 +49039,7 @@ "build": "2802" }, "0x79B656937DF6DF5D": { - "name": "_0x79B656937DF6DF5D", + "name": "_NETWORK_EARN_SELL_ACID", "jhash": "", "comment": "", "params": [ @@ -48988,7 +49056,7 @@ "build": "2802" }, "0xE3942D59E8A7F70D": { - "name": "_0xE3942D59E8A7F70D", + "name": "_NETWORK_EARN_SETUP_PARTICIPATION_ACID_LAB", "jhash": "", "comment": "", "params": [ @@ -49005,7 +49073,7 @@ "build": "2802" }, "0x136F11B5DF1B304D": { - "name": "_0x136F11B5DF1B304D", + "name": "_NETWORK_EARN_SOURCE_PARTICIPATION_ACID_LAB", "jhash": "", "comment": "", "params": [ @@ -49022,7 +49090,7 @@ "build": "2802" }, "0xCA3EF9B09A8D76B4": { - "name": "_0xCA3EF9B09A8D76B4", + "name": "_NETWORK_EARN_SELL_PARTICIPATION_ACID_LAB", "jhash": "", "comment": "", "params": [ @@ -49039,7 +49107,7 @@ "build": "2802" }, "0xE01D10BA8CD53621": { - "name": "_0xE01D10BA8CD53621", + "name": "_NETWORK_EARN_JUGGALO_STORY_MISSION", "jhash": "", "comment": "", "params": [ @@ -49056,7 +49124,7 @@ "build": "2802" }, "0x40FF6CCCC476185C": { - "name": "_0x40FF6CCCC476185C", + "name": "_NETWORK_EARN_JUGGALO_STORY_MISSION_PARTICIPATION", "jhash": "", "comment": "", "params": [ @@ -49073,9 +49141,9 @@ "build": "2802" }, "0xCE4452AE85F5E252": { - "name": "_0xCE4452AE85F5E252", + "name": "_NETWORK_EARN_FOOLIGAN_JOB", "jhash": "", - "comment": "", + "comment": "JUGGALO_PHONE_MISSION...", "params": [ { "type": "Any", @@ -49090,9 +49158,9 @@ "build": "2802" }, "0xC376B92D0E060970": { - "name": "_0xC376B92D0E060970", + "name": "_NETWORK_EARN_FOOLIGAN_JOB_PARTICIPATION", "jhash": "", - "comment": "", + "comment": "JUGGALO_PHONE_MISSION_PARTICIPATION...", "params": [ { "type": "Any", @@ -49107,7 +49175,7 @@ "build": "2802" }, "0x991E1588FAD9019D": { - "name": "_0x991E1588FAD9019D", + "name": "_NETWORK_EARN_TAXI_JOB", "jhash": "", "comment": "", "params": [ @@ -49124,7 +49192,7 @@ "build": "2802" }, "0xCABC9874AFA70D6D": { - "name": "_0xCABC9874AFA70D6D", + "name": "_NETWORK_EARN_DAILY_STASH_HOUSE_COMPLETED", "jhash": "", "comment": "", "params": [ @@ -49141,7 +49209,7 @@ "build": "2802" }, "0x9C0C6BD0F94CE391": { - "name": "_0x9C0C6BD0F94CE391", + "name": "_NETWORK_EARN_DAILY_STASH_HOUSE_PARTICIPATION", "jhash": "", "comment": "", "params": [ @@ -53336,20 +53404,20 @@ ] }, "0x04BD27B5ACB67067": { - "name": "_0x04BD27B5ACB67067", + "name": "_NETWORK_GET_RANDOM_FLOAT_RANGED", "jhash": "", "comment": "", "params": [ { - "type": "Any", - "name": "p0" + "type": "float", + "name": "rangeStart" }, { - "type": "Any", - "name": "p1" + "type": "float", + "name": "rangeEnd" } ], - "return_type": "Any", + "return_type": "float", "build": "2802" }, "0x655B91F1495A9090": { @@ -54185,13 +54253,13 @@ ] }, "0x3DAD00265FBF356B": { - "name": "_0x3DAD00265FBF356B", + "name": "NETWORK_SET_CURRENT_CHAT_OPTION", "jhash": "", "comment": "", "params": [ { - "type": "Any", - "name": "p0" + "type": "int", + "name": "newChatOption" } ], "return_type": "void", @@ -55283,16 +55351,16 @@ "build": "372" }, "0xAD4326FCA30D62F8": { - "name": "_0xAD4326FCA30D62F8", + "name": "NETWORK_IS_PLAYER_ON_BLOCKLIST", "jhash": "", "comment": "", "params": [ { - "type": "Any", - "name": "p0" + "type": "Any*", + "name": "gamerHandle" } ], - "return_type": "Any", + "return_type": "BOOL", "build": "2802" }, "0xB309EBEA797E001F": { @@ -56897,17 +56965,17 @@ ] }, "0x96320E6549DAE7B4": { - "name": "_0x96320E6549DAE7B4", + "name": "SET_REMOTE_PLAYER_VISIBLE_IN_CUTSCENE", "jhash": "", "comment": "", "params": [ { - "type": "Any", - "name": "p0" + "type": "Player", + "name": "player" }, { - "type": "Any", - "name": "p1" + "type": "BOOL", + "name": "locallyVisible" } ], "return_type": "void", @@ -57967,16 +58035,16 @@ "build": "323" }, "0xDD7CEF5B3A4DA8A6": { - "name": "_0xDD7CEF5B3A4DA8A6", + "name": "IS_NETWORK_VEHICLE_RUNNING_RESPOT_TIMER", "jhash": "", "comment": "", "params": [ { - "type": "Any", - "name": "p0" + "type": "int", + "name": "networkID" } ], - "return_type": "Any", + "return_type": "BOOL", "build": "2802" }, "0x6274C4712850841E": { @@ -67081,16 +67149,16 @@ "build": "323" }, "0xC2AB6BFE34E92F8B": { - "name": "_0xC2AB6BFE34E92F8B", + "name": "LOAD_ALL_PATH_NODES", "jhash": "", "comment": "", "params": [ { - "type": "Any", - "name": "p0" + "type": "BOOL", + "name": "set" } ], - "return_type": "Any", + "return_type": "BOOL", "build": "2802" }, "0x228E5C6AD4D74BFD": { @@ -75131,17 +75199,17 @@ "build": "323" }, "0xAC0BB4D87777CAE2": { - "name": "_0xAC0BB4D87777CAE2", + "name": "SET_PED_WETNESS", "jhash": "", "comment": "", "params": [ { - "type": "Any", - "name": "p0" + "type": "Ped", + "name": "ped" }, { - "type": "Any", - "name": "p1" + "type": "float", + "name": "wetLevel" } ], "return_type": "void", @@ -75730,13 +75798,13 @@ "build": "1868" }, "0x007FDE5A7897E426": { - "name": "_0x007FDE5A7897E426", + "name": "RESET_FACIAL_IDLE_ANIM", "jhash": "", "comment": "", "params": [ { - "type": "Any", - "name": "p0" + "type": "Ped", + "name": "ped" } ], "return_type": "void", @@ -82798,13 +82866,13 @@ ] }, "0xBCB06442F7E52666": { - "name": "_0xBCB06442F7E52666", + "name": "DISABLE_PLAYER_HEALTH_RECHARGE", "jhash": "", - "comment": "", + "comment": "Needs to be called every frame.", "params": [ { - "type": "Any", - "name": "p0" + "type": "Player", + "name": "player" } ], "return_type": "void", @@ -103506,11 +103574,11 @@ "comment": "", "params": [ { - "type": "Any", - "name": "p0" + "type": "Vehicle", + "name": "vehicle" }, { - "type": "Any", + "type": "BOOL", "name": "p1" } ], @@ -104023,13 +104091,13 @@ ] }, "0x923A293361DF44E5": { - "name": "_0x923A293361DF44E5", + "name": "LOWER_FORKLIFT_FORKS", "jhash": "", "comment": "", "params": [ { - "type": "Any", - "name": "p0" + "type": "Vehicle", + "name": "forklift" } ], "return_type": "void", @@ -109060,7 +109128,7 @@ "build": "323" }, "0x5815BD2763178DF4": { - "name": "_SET_VEHICLE_STRONG_DOORS", + "name": "SET_VEHICLE_TAIL_LIGHTS", "jhash": "", "comment": "", "params": [ @@ -109070,7 +109138,7 @@ }, { "type": "BOOL", - "name": "p1" + "name": "toggle" } ], "return_type": "void", @@ -109173,16 +109241,16 @@ "build": "323" }, "0x80D9D32636369C92": { - "name": "_0x80D9D32636369C92", + "name": "_GET_VEHICLE_TRAILER_PARENT_VEHICLE", "jhash": "", "comment": "", "params": [ { - "type": "Any", - "name": "p0" + "type": "Vehicle", + "name": "trailer" } ], - "return_type": "Any", + "return_type": "Vehicle", "build": "2802" }, "0xCAC66558B944DA67": { From 0da67a4f1bb21224d95efb140248a766bd8812b7 Mon Sep 17 00:00:00 2001 From: Sainan Date: Tue, 21 Mar 2023 19:10:34 +0000 Subject: [PATCH 18/29] Update name of bool arg on visibility natives --- natives.json | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/natives.json b/natives.json index ec3e48a..53a8945 100755 --- a/natives.json +++ b/natives.json @@ -57005,7 +57005,7 @@ "params": [ { "type": "BOOL", - "name": "p0" + "name": "bIncludePlayersVehicle" } ], "return_type": "void", @@ -57018,7 +57018,7 @@ "params": [ { "type": "BOOL", - "name": "p0" + "name": "bIncludePlayersVehicle" } ], "return_type": "void", @@ -57035,7 +57035,7 @@ }, { "type": "BOOL", - "name": "toggle" + "name": "bIncludePlayersVehicle" } ], "return_type": "void", @@ -57052,7 +57052,7 @@ }, { "type": "BOOL", - "name": "toggle" + "name": "bIncludePlayersVehicle" } ], "return_type": "void", From 0dd466e5194a16172faf5bf5a5899e5fbd2dfa15 Mon Sep 17 00:00:00 2001 From: gottfriedleibniz <37632412+gottfriedleibniz@users.noreply.github.com> Date: Tue, 21 Mar 2023 16:11:19 -0300 Subject: [PATCH 19/29] b2802 --- natives.json | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/natives.json b/natives.json index 53a8945..3de34ff 100755 --- a/natives.json +++ b/natives.json @@ -103569,9 +103569,9 @@ "build": "944" }, "0x85FC953F6C6CBDE1": { - "name": "_0x85FC953F6C6CBDE1", + "name": "_SET_BOUNDS_AFFECT_WATER_PROBES", "jhash": "", - "comment": "", + "comment": "Use the vehicle bounds (instead of viewport) when deciding if a vehicle is sufficiently above the water (waterheight.dat), bypassing wave simulation checks", "params": [ { "type": "Vehicle", @@ -103579,7 +103579,7 @@ }, { "type": "BOOL", - "name": "p1" + "name": "toggle" } ], "return_type": "void", From b71f881b2b1696f679a7bbf07200b18292608158 Mon Sep 17 00:00:00 2001 From: Sainan Date: Tue, 21 Mar 2023 19:11:36 +0000 Subject: [PATCH 20/29] Update bool arg name on GET_VEHICLE_PED_IS_IN --- natives.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/natives.json b/natives.json index 3de34ff..04d17d2 100755 --- a/natives.json +++ b/natives.json @@ -69044,7 +69044,7 @@ "0x9A9112A0FE9A4713": { "name": "GET_VEHICLE_PED_IS_IN", "jhash": "0xAFE92319", - "comment": "Gets the vehicle the specified Ped is in. Returns 0 if the ped is/was not in a vehicle.\nIf the Ped is not in a vehicle and includeLastVehicle is true, the vehicle they were last in is returned.", + "comment": "Gets the vehicle the specified Ped is in. Returns 0 if the ped is/was not in a vehicle.", "params": [ { "type": "Ped", @@ -69052,7 +69052,7 @@ }, { "type": "BOOL", - "name": "includeLastVehicle" + "name": "includeEntering" } ], "return_type": "Vehicle", From 06f53ef0b12ac7fa3bc519addd32cad3ee7bfce3 Mon Sep 17 00:00:00 2001 From: fingaweg <28874761+fingaweg@users.noreply.github.com> Date: Thu, 15 Jun 2023 19:24:54 +0200 Subject: [PATCH 21/29] update to 2944 --- natives.json | 670 +++++++++++++++++++++++++++++++++++++++++++++------ 1 file changed, 590 insertions(+), 80 deletions(-) diff --git a/natives.json b/natives.json index 04d17d2..87ef038 100755 --- a/natives.json +++ b/natives.json @@ -5994,6 +5994,23 @@ "_SET_CAM_DOF_MAX_NEAR_IN_FOCUS_DISTANCE_BLEND_LEVEL" ] }, + "0x7CF3AF51DCFE4108": { + "name": "SET_CAM_DOF_SHOULD_KEEP_LOOK_AT_TARGET_IN_FOCUS", + "jhash": "", + "comment": "This native has a name defined inside its code", + "params": [ + { + "type": "Cam", + "name": "camera" + }, + { + "type": "BOOL", + "name": "state" + } + ], + "return_type": "void", + "build": "2944" + }, "0xFEDB7D269E8C60E3": { "name": "ATTACH_CAM_TO_ENTITY", "jhash": "0xAD7C45F6", @@ -12632,6 +12649,19 @@ "return_type": "Player", "build": "323" }, + "0xFFBD7052D65BE0FF": { + "name": "GET_NEAREST_PARTICIPANT_TO_ENTITY", + "jhash": "", + "comment": "", + "params": [ + { + "type": "Entity", + "name": "entity" + } + ], + "return_type": "int", + "build": "2944" + }, "0x8ACD366038D14505": { "name": "GET_ENTITY_TYPE", "jhash": "0x0B1BD08D", @@ -13610,6 +13640,99 @@ "return_type": "void", "build": "323" }, + "0x168A09D1B25B0BA4": { + "name": "ATTACH_ENTITY_TO_ENTITY_PHYSICALLY_OVERRIDE_INVERSE_MASS", + "jhash": "", + "comment": "", + "params": [ + { + "type": "Entity", + "name": "firstEntityIndex" + }, + { + "type": "Entity", + "name": "secondEntityIndex" + }, + { + "type": "int", + "name": "firstEntityBoneIndex" + }, + { + "type": "int", + "name": "secondEntityBoneIndex" + }, + { + "type": "float", + "name": "secondEntityOffsetX" + }, + { + "type": "float", + "name": "secondEntityOffsetY" + }, + { + "type": "float", + "name": "secondEntityOffsetZ" + }, + { + "type": "float", + "name": "firstEntityOffsetX" + }, + { + "type": "float", + "name": "firstEntityOffsetY" + }, + { + "type": "float", + "name": "firstEntityOffsetZ" + }, + { + "type": "float", + "name": "vecRotationX" + }, + { + "type": "float", + "name": "vecRotationY" + }, + { + "type": "float", + "name": "vecRotationZ" + }, + { + "type": "float", + "name": "physicalStrength" + }, + { + "type": "BOOL", + "name": "constrainRotation" + }, + { + "type": "BOOL", + "name": "doInitialWarp" + }, + { + "type": "BOOL", + "name": "collideWithEntity" + }, + { + "type": "BOOL", + "name": "addInitialSeperation" + }, + { + "type": "int", + "name": "rotOrder" + }, + { + "type": "float", + "name": "invMassScaleA" + }, + { + "type": "float", + "name": "invMassScaleB" + } + ], + "return_type": "void", + "build": "2944" + }, "0xF4080490ADC51C6F": { "name": "PROCESS_ENTITY_ATTACHMENTS", "jhash": "0x6909BA59", @@ -30557,6 +30680,14 @@ "_SET_TOGGLE_MINIMAP_HEIST_ISLAND" ] }, + "0x35CCE12EAECB4A51": { + "name": "_SET_PAUSE_EXTERIOR_RENDERING_WHILE_IN_INTERIOR", + "jhash": "", + "comment": "", + "params": [], + "return_type": "void", + "build": "b2944" + }, "0x6D14BFDC33B34F55": { "name": "DONT_TILT_MINIMAP_THIS_FRAME", "jhash": "0x334EFD46", @@ -33526,8 +33657,13 @@ "0x75D3691713C3B05A": { "name": "OPEN_SOCIAL_CLUB_MENU", "jhash": "0x57218529", - "comment": "Uses the `SOCIAL_CLUB2` scaleform.", - "params": [], + "comment": "Uses the `SOCIAL_CLUB2` scaleform.\nmenu: GALLERY, MISSIONS, CREWS, MIGRATE, PLAYLISTS, JOBS", + "params": [ + { + "type": "Hash", + "name": "menu" + } + ], "return_type": "void", "build": "323" }, @@ -42092,19 +42228,6 @@ "return_type": "void", "build": "323" }, - "0x02CE1D6AC0FC73EA": { - "name": "NETWORK_EARN_FROM_ROCKSTAR", - "jhash": "0x5A3733CC", - "comment": "", - "params": [ - { - "type": "int", - "name": "amount" - } - ], - "return_type": "void", - "build": "323" - }, "0xB539BD8A4C1EECF8": { "name": "NETWORK_EARN_FROM_VEHICLE", "jhash": "0xF803589D", @@ -42457,6 +42580,14 @@ { "type": "Any", "name": "p0" + }, + { + "type": "Any", + "name": "p1" + }, + { + "type": "Any", + "name": "p2" } ], "return_type": "void", @@ -42489,6 +42620,10 @@ { "type": "Any", "name": "p4" + }, + { + "type": "Any", + "name": "p5" } ], "return_type": "void", @@ -44126,6 +44261,10 @@ { "type": "Any", "name": "p2" + }, + { + "type": "Any", + "name": "p3" } ], "return_type": "void", @@ -44350,6 +44489,10 @@ { "type": "Any", "name": "p3" + }, + { + "type": "Any", + "name": "p4" } ], "return_type": "void", @@ -44378,6 +44521,10 @@ { "type": "Any", "name": "p3" + }, + { + "type": "Any", + "name": "p4" } ], "return_type": "void", @@ -49225,6 +49372,190 @@ "return_type": "void", "build": "2802" }, + "0x55F006B9D4A46C1D": { + "name": "_NETWORK_EARN_AVENGER", + "jhash": "", + "comment": "Used for SERVICE_EARN_AVENGER_OPERATIONS & SERVICE_EARN_AVENGER_OPS_BONUS", + "params": [ + { + "type": "int", + "name": "amount" + }, + { + "type": "int", + "name": "p1" + } + ], + "return_type": "void", + "build": "2944" + }, + "0xDEA273D5F8A9661A": { + "name": "_NETWORK_EARN_SMUGGLER_OPS", + "jhash": "", + "comment": "", + "params": [ + { + "type": "Any", + "name": "p0" + }, + { + "type": "Any", + "name": "p1" + }, + { + "type": "Any", + "name": "p2" + } + ], + "return_type": "void", + "build": "2944" + }, + "0xDCEF983C24191997": { + "name": "_NETWORK_EARN_BONUS_OBJECTIVE", + "jhash": "", + "comment": "", + "params": [ + { + "type": "int", + "name": "amount" + }, + { + "type": "Any", + "name": "p1" + }, + { + "type": "Any", + "name": "p2" + } + ], + "return_type": "void", + "build": "2944" + }, + "0xF8332B06F0EECC9C": { + "name": "_NETWORK_EARN_PROGRESS_HUB", + "jhash": "", + "comment": "", + "params": [ + { + "type": "Any", + "name": "p0" + }, + { + "type": "Any", + "name": "p1" + } + ], + "return_type": "void", + "build": "2944" + }, + "0x8C7E8D6F96C9E948": { + "name": "_NETWORK_SPENT_AIR_FREIGHT", + "jhash": "", + "comment": "", + "params": [ + { + "type": "int", + "name": "hangarCargoSourcingPrice" + }, + { + "type": "BOOL", + "name": "fromBank" + }, + { + "type": "BOOL", + "name": "fromBankAndWallet" + }, + { + "type": "int", + "name": "cost" + }, + { + "type": "int", + "name": "warehouseId" + }, + { + "type": "int", + "name": "warehouseSlot" + } + ], + "return_type": "void", + "build": "2944" + }, + "0xED1B407BADA42CEC": { + "name": "_NETWORK_SPENT_SKIP_CARGO_SOURCE_SETUP", + "jhash": "", + "comment": "", + "params": [ + { + "type": "int", + "name": "amount" + }, + { + "type": "BOOL", + "name": "fromBank" + }, + { + "type": "BOOL", + "name": "fromBankAndWallet" + }, + { + "type": "int", + "name": "cost" + } + ], + "return_type": "void", + "build": "2944" + }, + "0x95CE79A6939C537A": { + "name": "_NETWORK_SPENT_STEALTH_MODULE", + "jhash": "", + "comment": "Hash p3 = STEALTH_MODULE", + "params": [ + { + "type": "int", + "name": "amount" + }, + { + "type": "BOOL", + "name": "fromBank" + }, + { + "type": "BOOL", + "name": "fromBankAndWallet" + }, + { + "type": "Hash", + "name": "p3" + } + ], + "return_type": "void", + "build": "2944" + }, + "0xD687100F616163F4": { + "name": "_NETWORK_SPENT_MISSILE_JAMMER", + "jhash": "", + "comment": "Hash p3 = MISSILE_JAMMER", + "params": [ + { + "type": "int", + "name": "amount" + }, + { + "type": "BOOL", + "name": "fromBank" + }, + { + "type": "BOOL", + "name": "fromBankAndWallet" + }, + { + "type": "Hash", + "name": "p3" + } + ], + "return_type": "void", + "build": "2944" + }, "0x76EF28DA05EA395A": { "name": "NETWORK_GET_VC_BANK_BALANCE", "jhash": "0x16184FB5", @@ -53447,71 +53778,6 @@ "return_type": "BOOL", "build": "323" }, - "0x46FB3ED415C7641C": { - "name": "TRIGGER_PLAYER_CRC_HACKER_CHECK", - "jhash": "0xF9A51B92", - "comment": "p1 = 6", - "params": [ - { - "type": "Player", - "name": "player" - }, - { - "type": "int", - "name": "p1" - }, - { - "type": "Hash", - "name": "scriptHash" - } - ], - "return_type": "BOOL", - "build": "323", - "old_names": [ - "_NETWORK_IS_PLAYER_IN_SCRIPT", - "_TRIGGER_SCRIPT_CRC_CHECK_ON_PLAYER" - ] - }, - "0xA12D3A5A3753CC23": { - "name": "TRIGGER_TUNING_CRC_HACKER_CHECK", - "jhash": "", - "comment": "", - "params": [ - { - "type": "Player", - "name": "player" - }, - { - "type": "const char*", - "name": "p1" - }, - { - "type": "const char*", - "name": "p2" - } - ], - "return_type": "BOOL", - "build": "1103", - "unused": true - }, - "0xF287F506767CC8A9": { - "name": "TRIGGER_FILE_CRC_HACKER_CHECK", - "jhash": "", - "comment": "", - "params": [ - { - "type": "Player", - "name": "player" - }, - { - "type": "const char*", - "name": "p1" - } - ], - "return_type": "BOOL", - "build": "1103", - "unused": true - }, "0x472841A026D26D8B": { "name": "REMOTE_CHEATER_PLAYER_DETECTED", "jhash": "", @@ -54297,6 +54563,19 @@ "_NETWORK_SET_VEHICLE_TEST_DRIVE" ] }, + "0xA0CE91E47531D3BB": { + "name": "NETWORK_SET_VEHICLE_DRIVEN_LOCATION", + "jhash": "", + "comment": "Sets 'loc' variable used in MetricVEHICLE_DIST_DRIVEN", + "params": [ + { + "type": "Hash", + "name": "location" + } + ], + "return_type": "void", + "build": "b2944" + }, "0xEA23C49EAA83ACFB": { "name": "NETWORK_RESURRECT_LOCAL_PLAYER", "jhash": "0xF1F9D4B4", @@ -67459,6 +67738,39 @@ "return_type": "BOOL", "build": "323" }, + "0x809549AFC7AEC597": { + "name": "GET_SPAWN_COORDS_FOR_VEHICLE_NODE", + "jhash": "", + "comment": "", + "params": [ + { + "type": "int", + "name": "nodeAddress" + }, + { + "type": "float", + "name": "towardsCoorsX" + }, + { + "type": "float", + "name": "towardsCoorsY" + }, + { + "type": "float", + "name": "towardsCoorsZ" + }, + { + "type": "Vector3*", + "name": "centrePoint" + }, + { + "type": "float*", + "name": "heading" + } + ], + "return_type": "Vector3", + "build": "2944" + }, "0x2EB41072B4C1E4C0": { "name": "GET_STREET_NAME_AT_COORD", "jhash": "0xDEBEEFCF", @@ -83369,6 +83681,10 @@ { "type": "BOOL", "name": "p5" + }, + { + "type": "Any", + "name": "p6" } ], "return_type": "void", @@ -86964,6 +87280,27 @@ "return_type": "BOOL", "build": "323" }, + "0xD69CE161FE614531": { + "name": "_GET_STAT_HASH_FOR_CHARACTER_STAT", + "jhash": "", + "comment": "Returns stat hash based on dataType, statIndex/statId and characterSlot. Related to CStatsMpCharacterMappingData", + "params": [ + { + "type": "int", + "name": "dataType" + }, + { + "type": "int", + "name": "statIndex" + }, + { + "type": "int", + "name": "charSlot" + } + ], + "return_type": "Hash", + "build": "2944" + }, "0xB3271D7AB655B441": { "name": "STAT_SET_INT", "jhash": "0xC9CC1C5C", @@ -87771,6 +88108,39 @@ "return_type": "void", "build": "323" }, + "0xE6A27CDA42887F93": { + "name": "_PLAYSTATS_FLOW_LOW", + "jhash": "", + "comment": "p3: VehicleConversion, SCAdminCashGift\np4: 0", + "params": [ + { + "type": "float", + "name": "posX" + }, + { + "type": "float", + "name": "posY" + }, + { + "type": "float", + "name": "posZ" + }, + { + "type": "const char*", + "name": "p3" + }, + { + "type": "Any", + "name": "p4" + }, + { + "type": "int", + "name": "amount" + } + ], + "return_type": "void", + "build": "2944" + }, "0x93054C88E6AA7C44": { "name": "PLAYSTATS_NPC_INVITE", "jhash": "0x598C06F3", @@ -90519,6 +90889,10 @@ { "type": "Any", "name": "p0" + }, + { + "type": "Any", + "name": "p1" } ], "return_type": "void", @@ -90563,6 +90937,10 @@ { "type": "Any", "name": "p1" + }, + { + "type": "Any", + "name": "p2" } ], "return_type": "void", @@ -92585,6 +92963,35 @@ "_PLAYSTATS_HUB_EXIT" ] }, + "0x10A691F5756416D0": { + "name": "PLAYSTATS_VEH_DEL", + "jhash": "", + "comment": "", + "params": [ + { + "type": "int", + "name": "bossId1" + }, + { + "type": "int", + "name": "bossId2" + }, + { + "type": "int", + "name": "bossType" + }, + { + "type": "int", + "name": "vehicleID" + }, + { + "type": "int", + "name": "reason" + } + ], + "return_type": "void", + "build": "2944" + }, "0x887DAD63CF5B7908": { "name": "PLAYSTATS_INVENTORY", "jhash": "", @@ -92660,6 +93067,66 @@ ], "return_type": "void", "build": "2802" + }, + "0x7EA06F970F999394": { + "name": "_PLAYSTATS_RANDOM_EVENT", + "jhash": "", + "comment": "", + "params": [ + { + "type": "Any", + "name": "p0" + } + ], + "return_type": "void", + "build": "2944" + }, + "0xBD642335A732F1A8": { + "name": "_PLAYSTATS_ATTRITION_STAGE_END", + "jhash": "", + "comment": "", + "params": [ + { + "type": "Any", + "name": "p0" + } + ], + "return_type": "void", + "build": "2944" + }, + "0x961D4157B9B428DB": { + "name": "_PLAYSTATS_SHOWROOM_NAV", + "jhash": "", + "comment": "", + "params": [ + { + "type": "Any", + "name": "p0" + }, + { + "type": "Any", + "name": "p1" + }, + { + "type": "Hash", + "name": "entity" + } + ], + "return_type": "void", + "build": "2944" + }, + "0x151D6C04C9E2742F": { + "name": "_PLAYSTATS_SHOWROOM_OVERVIEW", + "jhash": "", + "comment": "Data struct contains various tunables related to test drives at Simeons Showroom or Luxury Showcase.", + "params": [ + { + "type": "Any*", + "name": "data" + } + ], + "return_type": "void", + "build": "2944" } }, "STREAMING": { @@ -103109,6 +103576,19 @@ "_REQUEST_VEHICLE_PHONE_EXPLOSION" ] }, + "0x6B407F2525E93644": { + "name": "HAVE_VEHICLE_REAR_DOORS_BEEN_BLOWN_OPEN_BY_STICKYBOMB", + "jhash": "", + "comment": "", + "params": [ + { + "type": "Vehicle", + "name": "vehicle" + } + ], + "return_type": "BOOL", + "build": "2944" + }, "0x598803E85E8448D9": { "name": "SET_TAXI_LIGHTS", "jhash": "0x68639D85", @@ -114833,6 +115313,36 @@ "_ARE_HELI_STUB_WINGS_DEPLOYED" ] }, + "0x0C02468829E4AA65": { + "name": "_SET_DEPLOY_MISSILE_BAYS", + "jhash": "", + "comment": "", + "params": [ + { + "type": "Vehicle", + "name": "vehicle" + }, + { + "type": "BOOL", + "name": "deploy" + } + ], + "return_type": "void", + "build": "2944" + }, + "0xEA4743874D515F13": { + "name": "_ARE_MISSILE_BAYS_DEPLOYED", + "jhash": "", + "comment": "", + "params": [ + { + "type": "Vehicle", + "name": "vehicle" + } + ], + "return_type": "BOOL", + "build": "2944" + }, "0xAA653AE61924B0A0": { "name": "SET_DIP_STRAIGHT_DOWN_WHEN_CRASHING_PLANE", "jhash": "", From f9792e06107034b66fbda4d29c27dd3a27b54294 Mon Sep 17 00:00:00 2001 From: gottfriedleibniz <37632412+gottfriedleibniz@users.noreply.github.com> Date: Fri, 23 Jun 2023 05:25:38 -0300 Subject: [PATCH 22/29] build field cleanup (#230) --- natives.json | 15 ++++++++++++--- 1 file changed, 12 insertions(+), 3 deletions(-) diff --git a/natives.json b/natives.json index 87ef038..47e3c16 100755 --- a/natives.json +++ b/natives.json @@ -30686,7 +30686,7 @@ "comment": "", "params": [], "return_type": "void", - "build": "b2944" + "build": "2944" }, "0x6D14BFDC33B34F55": { "name": "DONT_TILT_MINIMAP_THIS_FRAME", @@ -43217,6 +43217,10 @@ { "type": "BOOL", "name": "p3" + }, + { + "type": "int", + "name": "npcProvider" } ], "return_type": "void", @@ -49631,7 +49635,12 @@ "name": "NETWORK_GET_STRING_BANK_WALLET_BALANCE", "jhash": "0x7D4FD28C", "comment": "", - "params": [], + "params": [ + { + "type": "int", + "name": "character" + } + ], "return_type": "const char*", "build": "323", "unused": true @@ -54574,7 +54583,7 @@ } ], "return_type": "void", - "build": "b2944" + "build": "2944" }, "0xEA23C49EAA83ACFB": { "name": "NETWORK_RESURRECT_LOCAL_PLAYER", From d0c5b5a0cd35b7ba5809e559ef51ec938cf1cfa8 Mon Sep 17 00:00:00 2001 From: gottfriedleibniz <37632412+gottfriedleibniz@users.noreply.github.com> Date: Sun, 2 Jul 2023 15:08:01 -0300 Subject: [PATCH 23/29] update parameter count (#231) --- natives.json | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/natives.json b/natives.json index 47e3c16..d2c9fff 100755 --- a/natives.json +++ b/natives.json @@ -62505,6 +62505,10 @@ { "type": "Entity", "name": "entity" + }, + { + "type": "float", + "name": "maxSpeedToPredict" } ], "return_type": "Vector3", From 92ac810237ee112d1bef0f93301bad62d22d2aca Mon Sep 17 00:00:00 2001 From: gottfriedleibniz <37632412+gottfriedleibniz@users.noreply.github.com> Date: Sat, 8 Jul 2023 11:18:37 -0300 Subject: [PATCH 24/29] update parameter counts (#232) --- natives.json | 56 ++-------------------------------------------------- 1 file changed, 2 insertions(+), 54 deletions(-) diff --git a/natives.json b/natives.json index d2c9fff..b5c9ca9 100755 --- a/natives.json +++ b/natives.json @@ -50983,10 +50983,6 @@ { "type": "Any", "name": "p2" - }, - { - "type": "int", - "name": "maxPlayers" } ], "return_type": "BOOL", @@ -51007,7 +51003,7 @@ }, { "type": "int", - "name": "maxPlayers" + "name": "p2" } ], "return_type": "BOOL", @@ -92394,56 +92390,8 @@ "comment": "", "params": [ { - "type": "Any", + "type": "Any*", "name": "p0" - }, - { - "type": "Any", - "name": "p1" - }, - { - "type": "Any", - "name": "p2" - }, - { - "type": "Any", - "name": "p3" - }, - { - "type": "Any", - "name": "p4" - }, - { - "type": "Any", - "name": "p5" - }, - { - "type": "Any", - "name": "p6" - }, - { - "type": "Any", - "name": "p7" - }, - { - "type": "Any", - "name": "p8" - }, - { - "type": "Any", - "name": "p9" - }, - { - "type": "Any", - "name": "p10" - }, - { - "type": "Any", - "name": "p11" - }, - { - "type": "Any", - "name": "p12" } ], "return_type": "void", From 16226e5d20f9bb347aa6766adc4da824442d1f55 Mon Sep 17 00:00:00 2001 From: S0P4 Date: Sat, 8 Jul 2023 11:19:46 -0300 Subject: [PATCH 25/29] Better comments to DRAW_MARKER_SPHERE (#228) --- natives.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/natives.json b/natives.json index b5c9ca9..b72e025 100755 --- a/natives.json +++ b/natives.json @@ -19016,7 +19016,7 @@ "0x799017F9E3B10112": { "name": "DRAW_MARKER_SPHERE", "jhash": "", - "comment": "Draws a 3D sphere, typically seen in the GTA:O freemode event \"Penned In\".\nExample https://imgur.com/nCbtS4H", + "comment": "Draws a 3D sphere, typically seen in the GTA:O freemode event \"Penned In\".\nExample https://imgur.com/nCbtS4H\n\nalpha - The alpha for the sphere. Goes from 0.0 to 1.0.", "params": [ { "type": "float", From ae81e26a6f11ac2374f83a04ebe93362ae026da9 Mon Sep 17 00:00:00 2001 From: Sainan Date: Sat, 8 Jul 2023 15:20:20 +0100 Subject: [PATCH 26/29] Document interior group ids I could find (#229) --- natives.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/natives.json b/natives.json index b72e025..7dd267c 100755 --- a/natives.json +++ b/natives.json @@ -34134,7 +34134,7 @@ "0xE4A84ABF135EF91A": { "name": "GET_INTERIOR_GROUP_ID", "jhash": "0x09D6376F", - "comment": "Returns the group ID of the specified interior. For example, regular interiors have group 0, subway interiors have group 1. There are a few other groups too.", + "comment": "Returns the group ID of the specified interior.\n0 = default\n1 = subway station, subway tracks, sewers\n3 = train tunnel under mirror park\n5 = tunnel near del perro\n6 = train tunnel near chilliad\n7 = train tunnel near josiah\n8 = train tunnel in sandy shores\n9 = braddock tunnel (near chilliad)\n12 = tunnel under fort zancudo\n14 = train tunnel under cypress flats\n18 = rockford plaza parking garage\n19 = arcadius parking garage\n20 = union depository parking garage\n21 = fib parking garage", "params": [ { "type": "Interior", From ab8f61e200a3cca21a547b8932942c3fbe085a7d Mon Sep 17 00:00:00 2001 From: Eric R <38957600+ericr98@users.noreply.github.com> Date: Tue, 8 Aug 2023 20:07:34 +0200 Subject: [PATCH 27/29] add comment to "GET_FILENAME_FOR_AUDIO_CONVERSATION" (#236) --- natives.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/natives.json b/natives.json index 7dd267c..7f73005 100755 --- a/natives.json +++ b/natives.json @@ -27725,7 +27725,7 @@ "0x7B5280EBA9840C72": { "name": "GET_FILENAME_FOR_AUDIO_CONVERSATION", "jhash": "0x95C4B5AD", - "comment": "Gets a string literal from a label name.", + "comment": "Gets a localized string literal from a label name. Can be used for output of e.g. VEHICLE::GET_LIVERY_NAME. To check if a GXT label can be localized with this, HUD::DOES_TEXT_LABEL_EXIST can be used.", "params": [ { "type": "const char*", From 1fa980cb16155df05f7cdad2c6718adaef850105 Mon Sep 17 00:00:00 2001 From: Sainan Date: Mon, 28 Aug 2023 17:17:46 +0100 Subject: [PATCH 28/29] Fix inverted args on ATTACH_VEHICLE_TO_CARGOBOB (#237) --- natives.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/natives.json b/natives.json index 7f73005..911101d 100755 --- a/natives.json +++ b/natives.json @@ -112114,11 +112114,11 @@ "params": [ { "type": "Vehicle", - "name": "vehicle" + "name": "cargobob" }, { "type": "Vehicle", - "name": "cargobob" + "name": "vehicle" }, { "type": "int", From 048e9da0d5db37b2e11fc73ee975fb49e5de7068 Mon Sep 17 00:00:00 2001 From: fingaweg <28874761+fingaweg@users.noreply.github.com> Date: Thu, 14 Dec 2023 22:56:57 +0100 Subject: [PATCH 29/29] update to 3095 Thanks to @gottfriedleibniz for his tremendous help. --- natives.json | 990 +++++++++++++++++++++++++++++++++++++++++++++++---- 1 file changed, 925 insertions(+), 65 deletions(-) diff --git a/natives.json b/natives.json index 911101d..7765d89 100755 --- a/natives.json +++ b/natives.json @@ -700,6 +700,14 @@ "return_type": "BOOL", "build": "323" }, + "0xDD3AA743AB7D4D75": { + "name": "GET_CURRENT_TV_SHOW_PLAY_TIME", + "jhash": "", + "comment": "", + "params": [], + "return_type": "int", + "build": "3095" + }, "0xD2C91A0B572AAE56": { "name": "CREATE_NEW_SCRIPTED_CONVERSATION", "jhash": "0xB2BC25F8", @@ -4059,6 +4067,23 @@ "return_type": "void", "build": "323" }, + "0xBEFB80290414FD4F": { + "name": "_ENABLE_DRAG_RACE_STATIONARY_WARNING_SOUNDS", + "jhash": "", + "comment": "", + "params": [ + { + "type": "Vehicle", + "name": "vehicle" + }, + { + "type": "BOOL", + "name": "enable" + } + ], + "return_type": "void", + "build": "3095" + }, "0x6D28DC1671E334FD": { "name": "IS_GAME_IN_CONTROL_OF_MUSIC", "jhash": "0x7643170D", @@ -7895,6 +7920,22 @@ "_ANIMATE_GAMEPLAY_CAM_ZOOM" ] }, + "0xBC456FB703431785": { + "name": "_GET_THIRD_PERSON_CAM_MIN_ORBIT_DISTANCE_SPRING", + "jhash": "", + "comment": "", + "params": [], + "return_type": "float", + "build": "3095" + }, + "0xD4592A16D36673ED": { + "name": "_GET_THIRD_PERSON_CAM_MAX_ORBIT_DISTANCE_SPRING", + "jhash": "", + "comment": "", + "params": [], + "return_type": "float", + "build": "3095" + }, "0xE9EA16D6E54CDCA4": { "name": "SET_IN_VEHICLE_CAM_STATE_THIS_UPDATE", "jhash": "0x4B22C5CB", @@ -14559,8 +14600,12 @@ "name": "health" }, { - "type": "int", - "name": "p2" + "type": "Entity", + "name": "instigator" + }, + { + "type": "Hash", + "name": "weaponType" } ], "return_type": "void", @@ -22944,6 +22989,23 @@ "_SET_PARTICLE_FX_LOOPED_RANGE" ] }, + "0x4100BF0346A8D2C3": { + "name": "_SET_PARTICLE_FX_LOOPED_CAMERA_BIAS", + "jhash": "", + "comment": "", + "params": [ + { + "type": "int", + "name": "ptfxHandle" + }, + { + "type": "float", + "name": "p1" + } + ], + "return_type": "void", + "build": "3095" + }, "0xEEC4047028426510": { "name": "SET_PARTICLE_FX_CAM_INSIDE_VEHICLE", "jhash": "0x19EC0001", @@ -23275,6 +23337,35 @@ "_RESET_PARTICLE_FX_ASSET_OLD_TO_NEW" ] }, + "0xDF269BE2909E181A": { + "name": "_START_VEHICLE_PARTICLE_FX_LOOPED", + "jhash": "", + "comment": "Returns ptfxHandle\neffectName: scr_sv_drag_burnout", + "params": [ + { + "type": "Vehicle", + "name": "vehicle" + }, + { + "type": "const char*", + "name": "effectName" + }, + { + "type": "BOOL", + "name": "frontBack" + }, + { + "type": "BOOL", + "name": "leftRight" + }, + { + "type": "BOOL", + "name": "localOnly" + } + ], + "return_type": "int", + "build": "3095" + }, "0xA46B73FAA3460AE1": { "name": "SET_WEATHER_PTFX_USE_OVERRIDE_SETTINGS", "jhash": "", @@ -24077,6 +24168,19 @@ "_SET_FORCE_PED_FOOTSTEPS_TRACKS" ] }, + "0xA342A3763B3AFB6C": { + "name": "_FORCE_ALLOW_SNOW_FOOT_VFX_ON_ICE", + "jhash": "", + "comment": "", + "params": [ + { + "type": "BOOL", + "name": "toggle" + } + ], + "return_type": "void", + "build": "3095" + }, "0x4CC7F0FEA5283FE0": { "name": "USE_SNOW_WHEEL_VFX_WHEN_UNSHELTERED", "jhash": "0x7158B1EA", @@ -24109,6 +24213,19 @@ "_DISABLE_SCRIPT_AMBIENT_EFFECTS" ] }, + "0x6E9EF3A33C8899F8": { + "name": "_FORCE_GROUND_SNOW_PASS", + "jhash": "", + "comment": "", + "params": [ + { + "type": "BOOL", + "name": "toggle" + } + ], + "return_type": "void", + "build": "3095" + }, "0xD7021272EB0A451E": { "name": "PRESET_INTERIOR_AMBIENT_CACHE", "jhash": "0x137E3E24", @@ -25492,6 +25609,23 @@ "return_type": "void", "build": "323" }, + "0xEE831F15A8D0D94A": { + "name": "_SET_TV_CHANNEL_PLAYLIST_DIRTY", + "jhash": "", + "comment": "", + "params": [ + { + "type": "int", + "name": "tvChannel" + }, + { + "type": "BOOL", + "name": "p1" + } + ], + "return_type": "void", + "build": "3095" + }, "0xBEB3D46BB7F043C0": { "name": "CLEAR_TV_CHANNEL_PLAYLIST", "jhash": "0xCBE7068F", @@ -28116,6 +28250,19 @@ "return_type": "void", "build": "1180" }, + "0x1BC0EA2912708625": { + "name": "_USE_VEHICLE_TARGETING_RETICULE_ON_VEHICLES", + "jhash": "", + "comment": "", + "params": [ + { + "type": "BOOL", + "name": "enable" + } + ], + "return_type": "void", + "build": "3095" + }, "0xE4C3B169876D33D7": { "name": "ADD_VALID_VEHICLE_HIT_HASH", "jhash": "", @@ -28662,6 +28809,19 @@ "return_type": "void", "build": "323" }, + "0x9F4624F76E6953D1": { + "name": "SET_TEXT_LINE_HEIGHT_MULT", + "jhash": "", + "comment": "", + "params": [ + { + "type": "float", + "name": "lineHeightMult" + } + ], + "return_type": "void", + "build": "3095" + }, "0x63145D9C883A1A70": { "name": "SET_TEXT_WRAP", "jhash": "0x6F60AB54", @@ -30447,6 +30607,27 @@ "return_type": "void", "build": "1290" }, + "0x25D984CFB64ED6DE": { + "name": "_SET_BLIP_GPS_ROUTE_DISPLAY_DISTANCE", + "jhash": "", + "comment": "Applies to new eBlipParams _BLIP_CHANGE_46* and _BLIP_CHANGE_47*", + "params": [ + { + "type": "Blip", + "name": "blip" + }, + { + "type": "int", + "name": "blipChangeParam46" + }, + { + "type": "BOOL", + "name": "blipChangeParam47" + } + ], + "return_type": "void", + "build": "3095" + }, "0x75A9A10948D1DEA6": { "name": "SET_MINIMAP_COMPONENT", "jhash": "0x419DCDC4", @@ -41209,6 +41390,36 @@ "old_names": [ "_GET_CONTENT_MAP_INDEX" ] + }, + "0xBA4583AF4C678A9B": { + "name": "_SET_CONTENT_PROP_TYPE", + "jhash": "", + "comment": "", + "params": [ + { + "type": "Hash", + "name": "model" + }, + { + "type": "int", + "name": "type" + } + ], + "return_type": "void", + "build": "3095" + }, + "0x8BAF8AD59F47AAFC": { + "name": "_GET_CONTENT_PROP_TYPE", + "jhash": "", + "comment": "Returns prop type for given model hash", + "params": [ + { + "type": "Hash", + "name": "model" + } + ], + "return_type": "int", + "build": "3095" } }, "MOBILE": { @@ -46678,6 +46889,7 @@ ], "return_type": "void", "build": "1734", + "unused": true, "old_names": [ "_NETWORK_EARN_FROM_RC_TIME_TRIAL" ] @@ -49450,7 +49662,8 @@ } ], "return_type": "void", - "build": "2944" + "build": "2944", + "unused": true }, "0x8C7E8D6F96C9E948": { "name": "_NETWORK_SPENT_AIR_FREIGHT", @@ -49560,6 +49773,84 @@ "return_type": "void", "build": "2944" }, + "0x2803B027479FB640": { + "name": "_NETWORK_SPENT_GENERIC", + "jhash": "", + "comment": "", + "params": [ + { + "type": "int", + "name": "price" + }, + { + "type": "BOOL", + "name": "p1" + }, + { + "type": "BOOL", + "name": "p2" + }, + { + "type": "Hash", + "name": "stat" + }, + { + "type": "Hash", + "name": "spent" + }, + { + "type": "const char*", + "name": "p5" + }, + { + "type": "const char*", + "name": "p6" + }, + { + "type": "Any*", + "name": "data" + } + ], + "return_type": "void", + "build": "3095" + }, + "0xBF7B5BB7ED890380": { + "name": "_NETWORK_EARN_GENERIC", + "jhash": "", + "comment": "_NETWORK_EARN_G*", + "params": [ + { + "type": "int", + "name": "amount" + }, + { + "type": "Hash", + "name": "earn" + }, + { + "type": "const char*", + "name": "p2" + }, + { + "type": "const char*", + "name": "p3" + }, + { + "type": "Any*", + "name": "data" + } + ], + "return_type": "void", + "build": "3095" + }, + "0xE03B9F95556E48E9": { + "name": "_NETWORK_CLEAR_TRANSACTION_TELEMETRY_NONCE", + "jhash": "", + "comment": "", + "params": [], + "return_type": "void", + "build": "3095" + }, "0x76EF28DA05EA395A": { "name": "NETWORK_GET_VC_BANK_BALANCE", "jhash": "0x16184FB5", @@ -50623,6 +50914,14 @@ "return_type": "BOOL", "build": "323" }, + "0xE1E02509169C124E": { + "name": "_NETWORK_HAVE_PLATFORM_COMMUNICATION_PRIVILEGES", + "jhash": "", + "comment": "Appears to be PlayStation-specific. Always returns true on other platforms if signed in with the primary user profile", + "params": [], + "return_type": "BOOL", + "build": "3095" + }, "0x78321BEA235FD8CD": { "name": "NETWORK_CHECK_ONLINE_PRIVILEGES", "jhash": "", @@ -51159,6 +51458,23 @@ "return_type": "BOOL", "build": "323" }, + "0xE0128328CF1FD9F4": { + "name": "_NETWORK_SESSION_LEAVE_INCLUDING_REASON", + "jhash": "", + "comment": "", + "params": [ + { + "type": "int", + "name": "leaveFlags" + }, + { + "type": "int", + "name": "leaveReason" + } + ], + "return_type": "BOOL", + "build": "3095" + }, "0xA02E59562D711006": { "name": "NETWORK_SESSION_END", "jhash": "0xBCACBEA2", @@ -51334,6 +51650,14 @@ "return_type": "void", "build": "323" }, + "0xCDC936BF35EDCB73": { + "name": "NETWORK_SESSION_GET_UNIQUE_CREW_LIMIT", + "jhash": "", + "comment": "", + "params": [], + "return_type": "int", + "build": "3095" + }, "0x4811BBAC21C5FCD5": { "name": "NETWORK_SESSION_SET_UNIQUE_CREW_LIMIT_TRANSITION", "jhash": "0xE5961511", @@ -51908,6 +52232,14 @@ "return_type": "BOOL", "build": "323" }, + "0x0292BD7F3766CEBC": { + "name": "_NETWORK_IS_AMERICAS_VERSION", + "jhash": "", + "comment": "Hardcoded to return 0.", + "params": [], + "return_type": "BOOL", + "build": "3095" + }, "0x9DE624D2FC4B603F": { "name": "NETWORK_IS_SESSION_STARTED", "jhash": "0x9D854A37", @@ -53841,7 +54173,6 @@ ], "return_type": "void", "build": "2545", - "unused": true, "old_names": [ "_NETWORK_ADD_INVALID_MODEL" ] @@ -53870,7 +54201,6 @@ "params": [], "return_type": "void", "build": "2545", - "unused": true, "old_names": [ "_NETWORK_CLEAR_INVALID_MODELS" ] @@ -55634,6 +55964,49 @@ "return_type": "void", "build": "372" }, + "0xDBDF80673BBA3D65": { + "name": "_NETWORK_DOES_COMMUNICATION_GROUP_EXIST", + "jhash": "", + "comment": "communicationType: 0 = VOICE; 1 = TEXT_CHAT; 2 = TEXT_MESSAGE; 3 = EMAIL; 4 = USER_CONTENT; 5 = USER_TEXT", + "params": [ + { + "type": "int", + "name": "communicationType" + } + ], + "return_type": "BOOL", + "build": "3095" + }, + "0x40DF02F371F40883": { + "name": "_NETWORK_GET_COMMUNICATION_GROUP_FLAGS", + "jhash": "", + "comment": "Returns communicationGroupFlag\ncommunicationType: see 0xDBDF80673BBA3D65\n\nenum eCommunicationGroupFlag\n{\n\tCOMMUNICATION_GROUP_LOCAL_PLAYER = 1 << 0,\n\tCOMMUNICATION_GROUP_FRIENDS = 1 << 1,\n\tCOMMUNICATION_GROUP_SMALL_CREW = 1 << 2,\n\tCOMMUNICATION_GROUP_LARGE_CREW = 1 << 3,\n\tCOMMUNICATION_GROUP_RECENT_PLAYER = 1 << 4,\n\tCOMMUNICATION_GROUP_SAME_SESSION = 1 << 5,\n\tCOMMUNICATION_GROUP_SAME_TEAM = 1 << 6,\n\tCOMMUNICATION_GROUP_INVALID = 1 << 7,\n};", + "params": [ + { + "type": "int", + "name": "communicationType" + } + ], + "return_type": "int", + "build": "3095" + }, + "0xE549F846DE7D32D5": { + "name": "_NETWORK_SET_COMMUNICATION_GROUP_FLAGS", + "jhash": "", + "comment": "communicationType: see 0xDBDF80673BBA3D65\ncommunicationGroupFlag: see 0x40DF02F371F40883", + "params": [ + { + "type": "int", + "name": "communicationType" + }, + { + "type": "int", + "name": "communicationGroupFlag" + } + ], + "return_type": "void", + "build": "3095" + }, "0xAD4326FCA30D62F8": { "name": "NETWORK_IS_PLAYER_ON_BLOCKLIST", "jhash": "", @@ -57186,6 +57559,10 @@ { "type": "Any", "name": "p1" + }, + { + "type": "Any", + "name": "p2" } ], "return_type": "void", @@ -61602,6 +61979,14 @@ "return_type": "void", "build": "323" }, + "0xC33E7CBC06EC1A8D": { + "name": "UGC_HAS_PERMISSION_TO_WRITE", + "jhash": "", + "comment": "", + "params": [], + "return_type": "BOOL", + "build": "3095" + }, "0x1DE0F5F50D723CAA": { "name": "UGC_PUBLISH", "jhash": "0xAD334B40", @@ -62183,6 +62568,22 @@ "_NETWORK_GET_ROS_PRIVILEGE_25" ] }, + "0xD9719341663C385F": { + "name": "_NETWORK_HAS_ROS_PRIVILEGE_MP_TEXT_COMMUNICATION", + "jhash": "", + "comment": "Checks for privilege 29", + "params": [], + "return_type": "BOOL", + "build": "3095" + }, + "0x8956A309BE90057C": { + "name": "_NETWORK_HAS_ROS_PRIVILEGE_MP_VOICE_COMMUNICATION", + "jhash": "", + "comment": "Checks for privilege 30", + "params": [], + "return_type": "BOOL", + "build": "3095" + }, "0x36391F397731595D": { "name": "NETWORK_START_COMMUNICATION_PERMISSIONS_CHECK", "jhash": "", @@ -62777,6 +63178,10 @@ { "type": "BOOL", "name": "targettable" + }, + { + "type": "Any", + "name": "p2" } ], "return_type": "void", @@ -71093,6 +71498,47 @@ "return_type": "BOOL", "build": "323" }, + "0xA32ABFEB2A03B306": { + "name": "_HAS_PED_CLEAR_LOS_TO_ENTITY", + "jhash": "", + "comment": "", + "params": [ + { + "type": "Ped", + "name": "ped" + }, + { + "type": "Entity", + "name": "entity" + }, + { + "type": "float", + "name": "x" + }, + { + "type": "float", + "name": "y" + }, + { + "type": "float", + "name": "z" + }, + { + "type": "int", + "name": "p5" + }, + { + "type": "BOOL", + "name": "p6" + }, + { + "type": "BOOL", + "name": "p7" + } + ], + "return_type": "BOOL", + "build": "3095" + }, "0x6F4C85ACD641BCD2": { "name": "GET_SEAT_PED_IS_TRYING_TO_ENTER", "jhash": "0xACF162E0", @@ -71786,6 +72232,10 @@ { "type": "Any", "name": "p3" + }, + { + "type": "Hash", + "name": "weaponType" } ], "return_type": "void", @@ -75780,6 +76230,10 @@ { "type": "BOOL", "name": "p9" + }, + { + "type": "Any", + "name": "p10" } ], "return_type": "int", @@ -82254,6 +82708,14 @@ "return_type": "void", "build": "323" }, + "0x875BDD898B99C8CE": { + "name": "GET_PLAYER_TARGETING_MODE", + "jhash": "", + "comment": "Returns targeting mode. See SET_PLAYER_TARGETING_MODE", + "params": [], + "return_type": "int", + "build": "3095" + }, "0x5702B917B99DB1CD": { "name": "SET_PLAYER_TARGET_LEVEL", "jhash": "0x772DA539", @@ -85308,10 +85770,10 @@ "build": "323", "unused": true }, - "0xA40CC53DF8E50837": { - "name": "SEND_TU_SCRIPT_EVENT", + "0x71A6F836422FDD2B": { + "name": "_SEND_TU_SCRIPT_EVENT_NEW", "jhash": "", - "comment": "See TRIGGER_SCRIPT_EVENT", + "comment": "New variant of SEND_TU_SCRIPT_EVENT that automatically initializes the event data header.\nSee TRIGGER_SCRIPT_EVENT for more info.", "params": [ { "type": "int", @@ -85328,13 +85790,14 @@ { "type": "int", "name": "playerBits" + }, + { + "type": "Hash", + "name": "eventType" } ], "return_type": "void", - "build": "1103", - "old_names": [ - "_TRIGGER_SCRIPT_EVENT_2" - ] + "build": "3095" } }, "SECURITY": { @@ -85992,22 +86455,6 @@ "return_type": "BOOL", "build": "323" }, - "0x6AFD2CD753FEEF83": { - "name": "SC_INBOX_SEND_BOUNTY_TO_RECIP_LIST", - "jhash": "0x628F489B", - "comment": "", - "params": [ - { - "type": "Any*", - "name": "data" - } - ], - "return_type": "BOOL", - "build": "323", - "old_names": [ - "_SC_INBOX_MESSAGE_SEND_BOUNTY_PRESENCE_EVENT" - ] - }, "0x87E0052F08BD64E6": { "name": "SC_INBOX_GET_BOUNTY_DATA_AT_INDEX", "jhash": "0xAB3346B5", @@ -88150,6 +88597,39 @@ "return_type": "void", "build": "2944" }, + "0xC4493521BAA12CCE": { + "name": "_PLAYSTATS_FLOW_MEDIUM", + "jhash": "", + "comment": "interiorAction: can either be InteriorEntry or InteriorExit", + "params": [ + { + "type": "float", + "name": "x" + }, + { + "type": "float", + "name": "y" + }, + { + "type": "float", + "name": "z" + }, + { + "type": "const char*", + "name": "interiorAction" + }, + { + "type": "int", + "name": "p4" + }, + { + "type": "Hash", + "name": "p5" + } + ], + "return_type": "void", + "build": "3095" + }, "0x93054C88E6AA7C44": { "name": "PLAYSTATS_NPC_INVITE", "jhash": "0x598C06F3", @@ -88217,6 +88697,10 @@ { "type": "int", "name": "activityId" + }, + { + "type": "Any", + "name": "p2" } ], "return_type": "void", @@ -89016,6 +89500,10 @@ { "type": "Any", "name": "p2" + }, + { + "type": "Any", + "name": "p3" } ], "return_type": "void", @@ -89433,43 +89921,6 @@ "return_type": "BOOL", "build": "323" }, - "0xA9CDB1E3F0A49883": { - "name": "LEADERBOARDS2_READ_BY_ROW", - "jhash": "0xCA931F34", - "comment": "", - "params": [ - { - "type": "Any*", - "name": "p0" - }, - { - "type": "Any*", - "name": "p1" - }, - { - "type": "Any", - "name": "p2" - }, - { - "type": "Any*", - "name": "p3" - }, - { - "type": "Any", - "name": "p4" - }, - { - "type": "Any*", - "name": "p5" - }, - { - "type": "Any", - "name": "p6" - } - ], - "return_type": "BOOL", - "build": "323" - }, "0xBA2C7DB0C129449A": { "name": "LEADERBOARDS2_READ_BY_RANK", "jhash": "0x1B03F59F", @@ -90902,6 +91353,10 @@ { "type": "Any", "name": "p1" + }, + { + "type": "Any", + "name": "p2" } ], "return_type": "void", @@ -92564,6 +93019,10 @@ { "type": "Any", "name": "p2" + }, + { + "type": "Any", + "name": "p3" } ], "return_type": "void", @@ -93042,6 +93501,19 @@ "return_type": "void", "build": "2944" }, + "0x5649CA22AF74E019": { + "name": "_PLAYSTATS_ALERT", + "jhash": "", + "comment": "", + "params": [ + { + "type": "Any*", + "name": "data" + } + ], + "return_type": "void", + "build": "3095" + }, "0xBD642335A732F1A8": { "name": "_PLAYSTATS_ATTRITION_STAGE_END", "jhash": "", @@ -94957,6 +95429,10 @@ { "type": "const char*", "name": "overrideEntryClipsetName" + }, + { + "type": "Any", + "name": "p7" } ], "return_type": "void", @@ -98546,6 +99022,10 @@ { "type": "Any", "name": "p10" + }, + { + "type": "Any", + "name": "p11" } ], "return_type": "void", @@ -102160,6 +102640,23 @@ "return_type": "BOOL", "build": "2060" }, + "0x32F6EEF031F943DC": { + "name": "_SET_SCRIPT_TASK_ENABLE_COLLISION_ON_NETWORK_CLONE_WHEN_FIXED", + "jhash": "", + "comment": "", + "params": [ + { + "type": "Ped", + "name": "ped" + }, + { + "type": "BOOL", + "name": "enable" + } + ], + "return_type": "void", + "build": "3095" + }, "0x349CE7B56DAFD95C": { "name": "IS_MOVE_BLEND_RATIO_STILL", "jhash": "0xE9DAF877", @@ -103431,6 +103928,36 @@ "return_type": "void", "build": "1103" }, + "0x5AE614ECA5FDD423": { + "name": "_SET_VEHICLE_MAX_LAUNCH_ENGINE_REVS", + "jhash": "", + "comment": "0.0f = engine rev minimum\n1.0f = engine rev limit", + "params": [ + { + "type": "Vehicle", + "name": "vehicle" + }, + { + "type": "float", + "name": "modifier" + } + ], + "return_type": "void", + "build": "3095" + }, + "0x92D96892FC06AF22": { + "name": "_GET_VEHICLE_THROTTLE", + "jhash": "", + "comment": "", + "params": [ + { + "type": "Vehicle", + "name": "vehicle" + } + ], + "return_type": "float", + "build": "3095" + }, "0xBA71116ADF5B514C": { "name": "EXPLODE_VEHICLE", "jhash": "0xBEDEACEB", @@ -109007,6 +109534,58 @@ "return_type": "void", "build": "323" }, + "0x61F02E4E9A7A61EA": { + "name": "_GET_VEHICLE_MODEL_NUM_DRIVE_GEARS", + "jhash": "", + "comment": "", + "params": [ + { + "type": "Hash", + "name": "vehicleModel" + } + ], + "return_type": "int", + "build": "3095" + }, + "0x24910C3D66BA770D": { + "name": "_GET_VEHICLE_MAX_DRIVE_GEAR_COUNT", + "jhash": "", + "comment": "", + "params": [ + { + "type": "Vehicle", + "name": "vehicle" + } + ], + "return_type": "int", + "build": "3095" + }, + "0x56185A25D45A0DCD": { + "name": "_GET_VEHICLE_CURRENT_DRIVE_GEAR", + "jhash": "", + "comment": "", + "params": [ + { + "type": "Vehicle", + "name": "vehicle" + } + ], + "return_type": "int", + "build": "3095" + }, + "0xF9DDA40BC293A61E": { + "name": "_GET_VEHICLE_CURRENT_REV_RATIO", + "jhash": "", + "comment": "", + "params": [ + { + "type": "Vehicle", + "name": "vehicle" + } + ], + "return_type": "float", + "build": "3095" + }, "0x00689CDE5F7C6787": { "name": "REMOVE_VEHICLE_HIGH_DETAIL_MODEL", "jhash": "0x382BE070", @@ -109097,6 +109676,23 @@ "_SET_TOW_TRUCK_CRANE_HEIGHT" ] }, + "0x48BD57D0DD17786A": { + "name": "_SET_ATTACHED_VEHICLE_TO_TOW_TRUCK_ARM", + "jhash": "", + "comment": "", + "params": [ + { + "type": "Vehicle", + "name": "towTruck" + }, + { + "type": "Vehicle", + "name": "vehicle" + } + ], + "return_type": "void", + "build": "3095" + }, "0x29A16F8D621C4508": { "name": "ATTACH_VEHICLE_TO_TOW_TRUCK", "jhash": "0x8151571A", @@ -110907,6 +111503,36 @@ "_OVERRIDE_OVERHEAT_HEALTH" ] }, + "0x337EF33DA3DDB990": { + "name": "_SET_TRANSMISSION_REDUCED_GEAR_RATIO", + "jhash": "", + "comment": "", + "params": [ + { + "type": "Vehicle", + "name": "vehicle" + }, + { + "type": "BOOL", + "name": "toggle" + } + ], + "return_type": "void", + "build": "3095" + }, + "0xFD8CE53356B5D745": { + "name": "_GET_VEHICLE_DESIRED_DRIVE_GEAR", + "jhash": "", + "comment": "", + "params": [ + { + "type": "Vehicle", + "name": "vehicle" + } + ], + "return_type": "int", + "build": "3095" + }, "0x5EF77C9ADD3B11A3": { "name": "GET_IS_LEFT_VEHICLE_HEADLIGHT_DAMAGED", "jhash": "0xA0777943", @@ -114552,6 +115178,19 @@ "return_type": "void", "build": "1011" }, + "0x1980F68872CC2C3D": { + "name": "_SET_VEHICLE_USE_HORN_BUTTON_FOR_NITROUS", + "jhash": "", + "comment": "", + "params": [ + { + "type": "BOOL", + "name": "toggle" + } + ], + "return_type": "void", + "build": "3095" + }, "0x4D610C6B56031351": { "name": "VEHICLE_SET_PARACHUTE_MODEL_OVERRIDE", "jhash": "", @@ -115575,6 +116214,134 @@ "_SET_VEHICLE_NITRO_ENABLED" ] }, + "0x465EEA70AF251045": { + "name": "SET_NITROUS_IS_ACTIVE", + "jhash": "", + "comment": "", + "params": [ + { + "type": "Vehicle", + "name": "vehicle" + }, + { + "type": "BOOL", + "name": "enabled" + } + ], + "return_type": "void", + "build": "3095" + }, + "0xAFD262ACCA64479A": { + "name": "_SET_OVERRIDE_TRACTION_LOSS_MULTIPLIER", + "jhash": "", + "comment": "", + "params": [ + { + "type": "Vehicle", + "name": "vehicle" + }, + { + "type": "float", + "name": "modifier" + } + ], + "return_type": "void", + "build": "3095" + }, + "0xDAF4C98C18AC6F06": { + "name": "_SET_DRIFT_SLIP_ANGLE_LIMITS", + "jhash": "", + "comment": "First two floats relate to rumble, the last is a threshold", + "params": [ + { + "type": "Vehicle", + "name": "vehicle" + }, + { + "type": "float", + "name": "durationScalar" + }, + { + "type": "float", + "name": "amplitudeScalar" + }, + { + "type": "float", + "name": "slipAngleLimit" + } + ], + "return_type": "void", + "build": "3095" + }, + "0x16CFBC5E7EB32861": { + "name": "_SET_MINIMUM_TIME_BETWEEN_GEAR_SHIFTS", + "jhash": "", + "comment": "", + "params": [ + { + "type": "Vehicle", + "name": "vehicle" + }, + { + "type": "int", + "name": "time" + } + ], + "return_type": "void", + "build": "3095" + }, + "0x1A2BCC8C636F9226": { + "name": "FULLY_CHARGE_NITROUS", + "jhash": "", + "comment": "", + "params": [ + { + "type": "Vehicle", + "name": "vehicle" + } + ], + "return_type": "void", + "build": "3095" + }, + "0xBEC4B8653462450E": { + "name": "_GET_REMAINING_NITROUS_DURATION", + "jhash": "", + "comment": "", + "params": [ + { + "type": "Vehicle", + "name": "vehicle" + } + ], + "return_type": "float", + "build": "3095" + }, + "0x491E822B2C464FE4": { + "name": "IS_NITROUS_ACTIVE", + "jhash": "", + "comment": "", + "params": [ + { + "type": "Vehicle", + "name": "vehicle" + } + ], + "return_type": "BOOL", + "build": "3095" + }, + "0xC889AE921400E1ED": { + "name": "CLEAR_NITROUS", + "jhash": "", + "comment": "", + "params": [ + { + "type": "Vehicle", + "name": "vehicle" + } + ], + "return_type": "void", + "build": "3095" + }, "0x2970EAA18FD5E42F": { "name": "SET_INCREASE_WHEEL_CRUSH_DAMAGE", "jhash": "", @@ -115660,6 +116427,19 @@ "_HIDE_VEHICLE_TOMBSTONE" ] }, + "0x249249D74F813EB2": { + "name": "APPLY_EMP_EFFECT", + "jhash": "", + "comment": "", + "params": [ + { + "type": "Vehicle", + "name": "vehicle" + } + ], + "return_type": "void", + "build": "3095" + }, "0x0506ED94363AD905": { "name": "GET_IS_VEHICLE_DISABLED_BY_EMP", "jhash": "", @@ -115934,6 +116714,69 @@ ], "return_type": "void", "build": "2699" + }, + "0x27D27223E8EF22ED": { + "name": "_SET_ALLOW_COLLISION_WHEN_IN_VEHICLE", + "jhash": "", + "comment": "_SET_ALLOW_R* - _SET_ALLOW_V*", + "params": [ + { + "type": "Vehicle", + "name": "vehicle" + }, + { + "type": "BOOL", + "name": "toggle" + } + ], + "return_type": "void", + "build": "3095" + }, + "0x6638C0F19DE692FE": { + "name": "_IS_VEHICLE_GEN9_EXCLUSIVE_MODEL", + "jhash": "", + "comment": "", + "params": [ + { + "type": "Hash", + "name": "vehicleModel" + } + ], + "return_type": "BOOL", + "build": "3095" + }, + "0x3EE18B00CD86C54F": { + "name": "_GET_VEHICLE_MAX_EXHAUST_BONE_COUNT", + "jhash": "", + "comment": "", + "params": [], + "return_type": "int", + "build": "3095" + }, + "0xE728F090D538CB18": { + "name": "_GET_VEHICLE_EXHAUST_BONE", + "jhash": "", + "comment": "", + "params": [ + { + "type": "Vehicle", + "name": "vehicle" + }, + { + "type": "int", + "name": "index" + }, + { + "type": "int*", + "name": "boneIndex" + }, + { + "type": "BOOL*", + "name": "axisX" + } + ], + "return_type": "BOOL", + "build": "3095" } }, "WATER": { @@ -117989,6 +118832,23 @@ "return_type": "void", "build": "323" }, + "0x1091922715B68DF0": { + "name": "_SET_WEAPON_PED_DAMAGE_MODIFIER", + "jhash": "", + "comment": "", + "params": [ + { + "type": "Hash", + "name": "weapon" + }, + { + "type": "float", + "name": "damageModifier" + } + ], + "return_type": "void", + "build": "3095" + }, "0x4757F00BC6323CFE": { "name": "SET_WEAPON_DAMAGE_MODIFIER", "jhash": "",