Advertisement
J16D

GTA SA - Mask test

Jun 23rd, 2016
133
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.07 KB | None | 0 0
  1. // by J16D
  2. // Test Masks
  3. {$CLEO}
  4. const
  5. ID_MASK = 29@
  6. end
  7. 0000:
  8. wait 0
  9. wait 0
  10. wait 0
  11. ID_MASK = 0
  12.  
  13. while true
  14. if Player.Defined(0) // $PLAYER_CHAR == 0
  15. then
  16. if 0AB0: key_pressed 0x8 // backspace
  17. then
  18. while 0AB0: key_pressed 0x8 // backspace
  19. wait 0
  20. end
  21. Inc(ID_MASK)
  22. if ID_MASK > 7
  23. then ID_MASK = 1
  24. end
  25. if ID_MASK == 7
  26. then
  27. 0784: set_player $PLAYER_CHAR textureCRC 0 modelCRC 0 bodypart 16
  28. else
  29. if ID_MASK == 1
  30. then
  31. 087B: set_player $PLAYER_CHAR clothes_texture "bikerhelmet" model "bikerhelmet" body_part 16
  32. else
  33. if ID_MASK == 2
  34. then
  35. 087B: set_player $PLAYER_CHAR clothes_texture "boxingcap" model "boxingcap" body_part 16
  36. else
  37. if ID_MASK == 3
  38. then
  39. 087B: set_player $PLAYER_CHAR clothes_texture "helmet" model "helmet" body_part 16
  40. else
  41. if ID_MASK == 4
  42. then
  43. 087B: set_player $PLAYER_CHAR clothes_texture "hockey" model "hockeymask" body_part 16
  44. else
  45. if ID_MASK == 5
  46. then
  47. 087B: set_player $PLAYER_CHAR clothes_texture "moto" model "moto" body_part 16
  48. else
  49. if ID_MASK == 6
  50. then
  51. 087B: set_player $PLAYER_CHAR clothes_texture "BALACLAVA" model "BALACLAVA" body_part 16
  52. end
  53. end
  54. end
  55. end
  56. end
  57. end
  58. end
  59. 070D: rebuild_player $PLAYER_CHAR
  60. 0AD0: show_formatted_text_lowpriority "mask ID:~r~%d" time 1500 ID_MASK
  61. wait 250
  62. end
  63. end
  64. wait 0
  65. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement