0B49: samp set_current_dialog_list_item 1@
This opcode only seems to work for dialog type 2 (DIALOG_STYLE_LIST).
I need to select items from DIALOG_STYLE_TABLIST_HEADERS which is dialog type 5 and is a similar looking dialog. How would I do this?
Okay so I divided the angle difference by 10.0 and made a FOR loop (1 to 10) to += to my current angle and aim to it 10 times to reach my target. Now I'm having trouble with adding a wait between each of the 10 increments I aim at. If I try doing "wait 1" after each increment the screen jitters...
I'm trying to make the aiming smooth (slower). I tried this and it snaps to the target too. Do you know how I would go about making it smooth? Thank you!
{$CLEO .cs}
0000: NOP
thread "TEST"
:TEST_1
wait 0
if
044B: not actor $PLAYER_ACTOR on_foot
then
00BA: show_text_styled GXT "BEEFY" time 1000 style 2
end
jump @TEST_1
Basiclally, I'm using a NOT to display text when a player is not on foot. But it doesnt work. The text is being displayed...
thanks, guys.
also one more thing which is kind of similar to this question so i didn't want to make a new thread..
how do i make a script not work on my own character? is there an opcode for that or do i do something like ''if not @2 == $playeractor"
Is it possible to check if a variable equals something that isn't an integer before carrying on with the script?
Here's something I made to explain what I mean
:FUCK
wait 0 ms
if and
0457: player $PLAYER_CHAR aiming_at_actor 1@
0AB0: key_pressed 1
jf @FUCK
0B2B: samp 2@ =...
05D3: AS_actor $PLAYER_ACTOR goto_point 681.8004 -474.1063 15.5363 mode 4 time 3000 ms // versionA
It keeps teleporting me to the spot I'm trying to get to, how do I disable the ''time'' parameter on this or is there something else I can use that won't teleport me if the char doesn't get there...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.