CLEO Help Get vehicle ID

CLEO related
Status
Not open for further replies.

davidel

Well-known member
Joined
Jan 17, 2020
Messages
207
Reaction score
7
Location
Germania
Code:
{$CLEO .cs}

0000:

:c
WAIT 0  
IF AND
    0AB0:   key_pressed 89  
    00DF:   actor $PLAYER_ACTOR driving
        THEN
        31@ = Actor.CurrentCar($PLAYER_ACTOR)
        0B2C: samp 30@ = get_vehicle_id_by_car_handle 31@
        wait 100
        chatmsg "CAR ID: %d" -1 30@
       
end
jump @c

hope it is what you are looking for
//press Y while you driving
 
Last edited:
Status
Not open for further replies.
Top