Guest User

BackPack

a guest
Mar 24th, 2014
332
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.44 KB | None | 0 0
  1. // This file was decompiled using sascm.ini published by GTAG (http://gtag.gtagaming.com/opcode-database) on 14.6.2013
  2.  
  3. {$CLEO .cs}
  4.  
  5. //-------------MAIN---------------
  6. thread "BAG"
  7. 0662: NOP "XZYTRO SAYS HI"
  8. 0662: NOP "FROM UGBASE.EU"
  9.  
  10. :MAIN
  11. wait 0
  12. if and
  13. 0256: player $PLAYER_CHAR defined
  14. 056D: actor $PLAYER_ACTOR defined
  15. 84C8: not actor $PLAYER_ACTOR driving_flying_vehicle
  16. 80DF: not actor $PLAYER_ACTOR driving
  17. 89DE: not actor $PLAYER_ACTOR entering_car
  18. 0AB0: key_pressed 2
  19. else_jump @MAIN
  20. repeat
  21. wait 0
  22. Model.Load(3026)
  23. until Model.Available(3026)
  24.  
  25. :ATTACH_THE_BAG
  26. wait 0
  27. 0107: $bag = create_object 3026 at 0.0 0.0 0.0
  28. 070A: AS_actor $PLAYER_ACTOR attach_to_object $bag offset -0.13 -0.05 0.0 on_bone 1 16 perform_animation "NULL" IFP_file "NULL" time -1
  29. 0382: set_object $bag collision_detection 0
  30.  
  31. :DEACTIVATION_CHECK
  32. wait 0
  33. if or
  34. 0118: actor $PLAYER_ACTOR dead
  35. 0449: actor $PLAYER_ACTOR in_a_car
  36. 09DE: actor $PLAYER_ACTOR entering_car
  37. 0AB0: key_pressed 88
  38. else_jump @DEACTIVATION_CHECK
  39. Object.Destroy($bag)
  40.  
  41. :RESPAWN_THE_BAG
  42. wait 0
  43. if and
  44. 0AB0: key_pressed 2
  45. 0256: player $PLAYER_CHAR defined
  46. 056D: actor $PLAYER_ACTOR defined
  47. 84C8: not actor $PLAYER_ACTOR driving_flying_vehicle
  48. 80DF: not actor $PLAYER_ACTOR driving
  49. 89DE: not actor $PLAYER_ACTOR entering_car
  50. else_jump @RESPAWN_THE_BAG
  51. jump @ATTACH_THE_BAG
Advertisement
Add Comment
Please, Sign In to add comment