CLEO Help Cleo Help Synced CarJack

CLEO related
Status
Not open for further replies.

ollydbg

Active member
Joined
Jun 3, 2017
Messages
39
Reaction score
22
[font='Source Sans Pro', Tahoma, 'Helvetica Neue', Arial, sans-serif]post [/font][font='Source Sans Pro', Tahoma, 'Helvetica Neue', Arial, sans-serif]http://ugbase.eu/Thread-CLEO-Synced-Jack-Simple-Cleo-with-EnterVehicle-RPC[/font]


This cleo is undetectable in a role-playing game

What I want is to perform the same function without using the command /js (vehicle id)

I want it only when I press the "F4" key between the driver as the closest vehicle without being detected by the anti cheat





Code:
// This file was decompiled using SASCM.ini published by GTAG (http://gtag.gtagaming.com/opcode-database) on 14.6.2013
{$CLEO .cs}

//-------------MAIN---------------
thread "JS" 

:JSINIT
wait 0 
if 
   SAMP.Available
else_jump @JSINIT 
0B34: samp register_client_command "js" to_label @js 

:HolyLoop
wait 40
jump @HolyLoop 

:js
   SAMP.IsCommandTyped(0@)
if 
0AD4: 0@ = scan_string 0@ format "%d" $car  
jf @syntax
0AFF: samp $car2 = car_handle_by_samp_vehicle_id $car 
if
056E:   car $car2 defined 
jf @error
0B30: samp send_enter_vehicle $car as_passenger 0
036A: put_actor $PLAYER_ACTOR in_car $car2 
print "Vehicle Jacked!" 2000

:syntax
0AF8: "{FF0000}/js{FFFFFF} [veh id]" -1
SAMP.CmdRet 

:error
0AF8: "{FF0000}/js :{FFFFFF} Not a valid vehicle ID" -1
SAMP.CmdRet
[font=Monaco, Consolas, Courier, monospace]Anyone pass me the code that works as I said or the .cs file ?
[/font]
 
Status
Not open for further replies.
Top