Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- void func_773(int iParam0)//Position - 0x6D5E6
- {
- struct<16> Var0;
- struct<16> Var16;
- unk_0x438822C279B73B93(player::player_id());
- gameplay::set_super_jump_this_frame(player::player_id());
- if (unk_0x451D05012CCEC234(player::player_ped_id()))
- {
- ped::set_ped_reset_flag(player::player_ped_id(), 217, true);
- if (!(ped::is_ped_climbing(player::player_ped_id()) || unk_0x412F1364FA066CFB(player::player_ped_id())) && !gameplay::is_bit_set(*iParam0, 18))
- {
- Var0 = { func_9("as", "Be", "t_j", "ump") };
- Var16 = { func_9("T_Bv", "AP", "dset", "S_Soun") };
- audio::play_sound_from_entity(-1, &Var0, player::player_ped_id(), &Var16, 0, 0);
- gameplay::set_bit(iParam0, 18);
- }
- if (unk_0x412F1364FA066CFB(player::player_ped_id()))
- {
- if (!entity::is_entity_in_air(player::player_ped_id()) && !gameplay::is_bit_set(*iParam0, 19))
- {
- Var0 = { func_9("st_J", "Bea", "and", "ump_L") };
- Var16 = { func_9("T_Bv", "AP", "dset", "S_Soun") };
- audio::play_sound_from_entity(-1, &Var0, player::player_ped_id(), &Var16, 0, 0);
- gameplay::set_bit(iParam0, 19);
- }
- }
- }
- else
- {
- gameplay::clear_bit(iParam0, 18);
- gameplay::clear_bit(iParam0, 19);
- }
- }
Add Comment
Please, Sign In to add comment