pai1ne13
Active member
- Joined
- Jan 2, 2019
- Messages
- 59
- Reaction score
- 4
hi, i want this mode to close an automatic dialog when i open it with a command. For example: on the server the command "/ x" shows a dialog with 2 buttons, "NEXT" and "CLOSE", this mode must automatically press "CLOSE". HOW CAN I FIX IT?
Code:
{$CLEO .cs}
0000:
repeat
wait 0
UNTIL 0AFA: SAMP_IS_READY
WHILE TRUE
WAIT 0
if
0af9: "/x"
then
if
0@ == true
then
0@ = false
wait 1000
08ED: remove_actor 1@ from_dialogue_mode
end
ELSE
0@ = TRUE
end
end