SHARE
TWEET

Untitled

a guest Jul 19th, 2019 65 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. {$CLEO .cs}
  2.  
  3. 0000: NOP
  4.  
  5. wait 10000  
  6.  
  7. while true
  8. wait 0
  9.  
  10. if and
  11. 0ab0: 90
  12. 0ab0: 82
  13. then
  14.     0AC6: 0@ = label @Dialog_Text offset
  15.     0B3B: samp show_dialog id 1000 caption "Test" text 0@ button_1 "Option 1" button_2 "Option 2" style 2
  16.     wait 1500
  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.         0AF8: samp_add_message_to_chat "You pressed 1"  color   -1
  28.     end      
  29.        
  30.     if and
  31.     2@ == 1
  32.     3@ == 1
  33.     then
  34.         0AF8: samp_add_message_to_chat "You pressed 2"  color -1
  35.     end  
  36.    
  37. end    
  38.  
  39. end
  40.    
  41.    
  42.    
  43. :Dialog_Text
  44. HEX
  45. "Number one" A
  46. "Number two" 0
  47. END
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top