Guest User

Untitled

a guest
Jun 17th, 2017
2,150
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.38 KB | None | 0 0
  1. void func_773(int iParam0)//Position - 0x6D5E6
  2. {
  3. struct<16> Var0;
  4. struct<16> Var16;
  5.  
  6. unk_0x438822C279B73B93(player::player_id());
  7. gameplay::set_super_jump_this_frame(player::player_id());
  8. if (unk_0x451D05012CCEC234(player::player_ped_id()))
  9. {
  10. ped::set_ped_reset_flag(player::player_ped_id(), 217, true);
  11. if (!(ped::is_ped_climbing(player::player_ped_id()) || unk_0x412F1364FA066CFB(player::player_ped_id())) && !gameplay::is_bit_set(*iParam0, 18))
  12. {
  13. Var0 = { func_9("as", "Be", "t_j", "ump") };
  14. Var16 = { func_9("T_Bv", "AP", "dset", "S_Soun") };
  15. audio::play_sound_from_entity(-1, &Var0, player::player_ped_id(), &Var16, 0, 0);
  16. gameplay::set_bit(iParam0, 18);
  17. }
  18. if (unk_0x412F1364FA066CFB(player::player_ped_id()))
  19. {
  20. if (!entity::is_entity_in_air(player::player_ped_id()) && !gameplay::is_bit_set(*iParam0, 19))
  21. {
  22. Var0 = { func_9("st_J", "Bea", "and", "ump_L") };
  23. Var16 = { func_9("T_Bv", "AP", "dset", "S_Soun") };
  24. audio::play_sound_from_entity(-1, &Var0, player::player_ped_id(), &Var16, 0, 0);
  25. gameplay::set_bit(iParam0, 19);
  26. }
  27. }
  28. }
  29. else
  30. {
  31. gameplay::clear_bit(iParam0, 18);
  32. gameplay::clear_bit(iParam0, 19);
  33. }
  34. }
Add Comment
Please, Sign In to add comment