CLEO Help opcode that checks if player is in a vehicle

CLEO related

50salasffcs

Member
Joined
Jan 4, 2023
Messages
22
Reaction score
0
I'm new to programming in CLEO, I want to know if there is an opcode in sanny bilder to check if I'm in any vehicle to create a condition with that, and I wanted to know how to make my cleo mod send automatic messages to the samp server as soon as a key is pressed
 

davidel

Well-known member
Joined
Jan 17, 2020
Messages
207
Reaction score
7
Location
Germania
how to make my cleo mod send automatic messages to the samp server as soon as a key is pressed

use
Code:
0AB0:   is_key_pressed 0x73

you have a list of key codes here
 

50salasffcs

Member
Joined
Jan 4, 2023
Messages
22
Reaction score
0
Here you go:
00DF: actor $PLAYER_ACTOR driving
If you have more questions , use same thread to post them...
How can I create a mod that as soon as this dialog appears on my screen, I click ''sim'' automatically for me?
 

Attachments

  • dialog.png
    dialog.png
    44.1 KB · Views: 12
Top