Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- {$CLEO .cs}
- 0000: NOP
- wait 10000
- while true
- wait 0
- if and
- 0ab0: 90
- 0ab0: 82
- then
- 0AC6: 0@ = label @Dialog_Text offset
- 0B3B: samp show_dialog id 1000 caption "Test" text 0@ button_1 "Option 1" button_2 "Option 2" style 2
- wait 1500
- end
- if
- 0B3C: samp is_dialog_responded id 1000 button 2@ list_item 3@ input_text 0
- then
- if and
- 2@ == 1
- 3@ == 0
- then
- 0AF8: samp_add_message_to_chat "You pressed 1" color -1
- end
- if and
- 2@ == 1
- 3@ == 1
- then
- 0AF8: samp_add_message_to_chat "You pressed 2" color -1
- end
- end
- end
- :Dialog_Text
- HEX
- "Number one" A
- "Number two" 0
- END
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement