CLEO Help Dialog Cursor

CLEO related
Status
Not open for further replies.

Zin

Expert
Joined
Aug 1, 2013
Messages
1,734
Solutions
2
Reaction score
117
So I made a little kind of multihack thing in CLEO except I can't get the cursor to be visible so I have to use F1 to see the cursor is there anyway I can show the cursor?
 

Zin

Expert
Joined
Aug 1, 2013
Messages
1,734
Solutions
2
Reaction score
117
Didn't work either.

This is what I use to enable the dialog which I have used a cmd.

:Noname_42
Dialog.SetVisible(0@, 1)
0B5D: samp toggle_cursor 1
0B8D: samp set_cursor_mode 2
SAMP.CmdRet(
 

MrChristmas

Expert
Joined
Jul 29, 2014
Messages
563
Reaction score
26
I don't think that you have to use 0B5D as I believe that SA:MP displays the mouse cursor as soon as the client requests dialog output (i might be wrong)

Try it like this -
Code:
:Noname_42
wait 0
0B86: dialog 0@ set_visible 1 
0B8D: samp set_cursor_mode 2
0B5D: samp toggle_cursor 1
SAMP.CmdRet(

There might be also an issue with the cursor position so when you try to show it, it shows but outside the boundaries so try making a check using 0B5E and setting it according to the dialog.
but the cursor should show itself in the boundaries anyway (and there isn't any reason as to why it shouldn't) so I think that you might have an error somewhere else in the code.
 
Joined
Feb 18, 2005
Messages
2,965
Reaction score
273
It works fine, if you don't use a command, when you press ENTER, the command will be dispatched( and your function called ), after which the input will close, and it will toggle the mouse off.
 
Status
Not open for further replies.
Top