Advertisement
Guest User

Dialog

a guest
Jun 25th, 2018
88
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.22 KB | None | 0 0
  1. {$CLEO}
  2.  
  3. 0000: NOP
  4.  
  5. wait 5000
  6.  
  7. while true
  8. wait 0
  9.  
  10. if and
  11. 0ab0: 90 {Key Z}
  12. 0ab0: 88 {Key X}
  13. then
  14. 0AC6: 0@ = label @First_Dialog_Text offset
  15. 0B3B: samp show_dialog id 1000 caption "Titlu" text 0@ button_1 "Ok" button_2 "Inchide" style 2
  16. wait 1000 // anti spam key
  17. end
  18.  
  19. if
  20. 0B3C: samp is_dialog_responded id 1000 button 2@ list_item 3@ input_text 0
  21. then
  22.  
  23. if and
  24. 2@ == 1
  25. 3@ == 0
  26. then
  27. 0AC6: 0@ = label @Second_Dialog_Text offset
  28. 0B3B: samp show_dialog id 1001 caption "Titlu2" text 0@ button_1 "Ok" button_2 "Inchide" style 2
  29. end
  30.  
  31. if and
  32. 2@ == 1
  33. 3@ == 1
  34. then
  35. 0AC6: 0@ = label @Third_Dialog_Text offset
  36. 0B3B: samp show_dialog id 1002 caption "Titlu3" text 0@ button_1 "Ok" button_2 "Inchide" style 2
  37. end
  38.  
  39. end
  40.  
  41. end
  42.  
  43. :First_Dialog_Text
  44. HEX
  45. "This is first dialog - list item number 0" A
  46. "This is first dialog - list item number 1" 0
  47. END
  48.  
  49. :Second_Dialog_Text
  50. HEX
  51. "This is second dialog - list item number 0" A
  52. "This is second dialog - list item number 1" 0
  53. END
  54.  
  55. :Third_Dialog_Text
  56. HEX
  57. "This is third dialog - list item number 0" A
  58. "This is third dialog - list item number 1" 0
  59. END
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement