darkphoenixxx Posted September 13, 2017 Share Posted September 13, 2017 (edited) Anyone have decompiled scripts that contain strings to use for PED::SET_PED_IN_VEHICLE_CONTEXT? I suspect this is responsible for the 'tense' driving style you get when chased by the police, as well as motorbike riding styles from biker dlc. Edited September 13, 2017 by darkphoenixxx Link to comment Share on other sites More sharing options...
Guest Posted September 13, 2017 Share Posted September 13, 2017 (edited) https://www.gta5-mods.com/tools/decompiled-scripts-b757 try these Edited September 13, 2017 by Guest Link to comment Share on other sites More sharing options...
darkphoenixxx Posted September 14, 2017 Author Share Posted September 14, 2017 (edited) https://www.gta5-mods.com/tools/decompiled-scripts-b757 try these Thanks, those contain the ones that are in NativeDB description, but not relaxed / tense ones. Maybe i am wrong, and those states are different from CONTEXT. Edited September 14, 2017 by darkphoenixxx Link to comment Share on other sites More sharing options...
Guest Posted September 14, 2017 Share Posted September 14, 2017 (edited) You mean like this? if (!func_766("ARM3_GUN")) { ped::set_ped_in_vehicle_context(player::player_ped_id(), gameplay::get_hash_key("MISS_ARMENIAN3_FRANKLIN_TENSE")); vehicle::set_vehicle_extra(iLocal_180, 5, 1); func_114(10);} I think you might need to look into where those are passed by params, instead of being just directly stated in the script. Sometimes, things are not always set out in completely obvious ways. You have to dig and backtrack through functions, to find where values are set and passed on. Although saying that, in all the scripts, there doesn't seem to be that many occasions where set_ped_in_vehicle_context is used, so maybe it's not always done by script. Edited September 14, 2017 by Guest Link to comment Share on other sites More sharing options...
alloc8or Posted September 14, 2017 Share Posted September 14, 2017 Here's a dump of all context hashes 0xBED5E1470xA2C8AA890x36FD0CC60x979426020x986ED5FA0x0FB809300x6C9507C60xFAFF1CB10x0B59D1BC0x30E78C460xFE234DF20xBB4773430x8E8D8B81 sollaholla and kagikn 2 Link to comment Share on other sites More sharing options...
sollaholla Posted September 15, 2017 Share Posted September 15, 2017 (edited) Here are the names for the hashes: MISS_ARMENIAN3_FRANKLIN_TENSEMISS_FAMILY1_JIMMY_SITMISS_FAMILY1_JIMMY_SIT_REARMISS_FAMILY2_JIMMY_BICYCLEMISSFBI2_MICHAEL_DRIVEBYMISSFBI5_TREVOR_DRIVINGMINI_PROSTITUTE_LOW_RESTRICTED_PASSENGERMINI_PROSTITUTE_LOW_RESTRICTED_NOAMBIENT_PASSENGERMINI_PROSTITUTE_LOW_LOWRIDER_PASSENGERMINI_PROSTITUTE_LOW_LOWRIDER2_PASSENGERMINI_PROSTITUTE_LOW_INFERNUS2_PASSENGERMINI_PROSTITUTE_LOW_PASSENGER These are the only ones used in the 1103 scripts. 0x0FB80930 is unknown. Edited September 15, 2017 by sollaholla alloc8or 1 Link to comment Share on other sites More sharing options...
darkphoenixxx Posted September 15, 2017 Author Share Posted September 15, 2017 Thanks guys! I have looked through the parameters too but they lead to the same ones, so i think the police one is done in some other way. sollaholla 1 Link to comment Share on other sites More sharing options...