Help Unknown directive thread "JS" When Compile

HarperZ

New member
Joined
Jul 18, 2023
Messages
2
Reaction score
0
Hello, can someone help me to fix this problem. For 0AF8: "" -1 leave it blank
I'm using Sanny Builder 4
here the cleo 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: "" -1
SAMP.CmdRet

:error
0AF8: "" -1
SAMP.CmdRet
 
Top