{$CLEO .cs}
0000: 'Author:'
// Function to check if player is making a job
function IsMakingJob()
local job_id, has_job
job_id = get_player_jobid($PLAYER_CHAR)
has_job = job_id != 0
return has_job
end
REPEAT
WAIT 0
UNTIL 0AFA:
// Register C + L key combination
0A93: key_hook key_press 0x43 0x4C to_label @MARK_CHECKPOINTS
WHILE TRUE
WAIT 0
// Check if player is making a job and pressed C + L
if IsMakingJob() and is_key_pressed(0x43) and is_key_pressed(0x4C) then
// Get all checkpoints on the map
local num_checkpoints, checkpoints
num_checkpoints = get_all_checkpoints_of_type(CHECKPOINT_TYPE_RACE, checkpoints)
// Loop through each checkpoint
for i = 0 to num_checkpoints - 1 do
local x, y, z
// Get checkpoint coordinates
get_checkpoint_pos(checkpoints[i], x, y, z)
// Check if checkpoint is red
if get_checkpoint_color(checkpoints[i]) == COLOR_RED then
// Set waypoint at checkpoint coordinates
set_player_waypoint($PLAYER_CHAR, x, y, z)
end
end
end
END
:MARK_CHECKPOINTS
0A95: return
Code:{$CLEO .cs} 0000: 'Author:' // Function to check if player is making a job function IsMakingJob() local job_id, has_job job_id = get_player_jobid($PLAYER_CHAR) has_job = job_id != 0 return has_job end REPEAT WAIT 0 UNTIL 0AFA: // Register C + L key combination 0A93: key_hook key_press 0x43 0x4C to_label @MARK_CHECKPOINTS WHILE TRUE WAIT 0 // Check if player is making a job and pressed C + L if IsMakingJob() and is_key_pressed(0x43) and is_key_pressed(0x4C) then // Get all checkpoints on the map local num_checkpoints, checkpoints num_checkpoints = get_all_checkpoints_of_type(CHECKPOINT_TYPE_RACE, checkpoints) // Loop through each checkpoint for i = 0 to num_checkpoints - 1 do local x, y, z // Get checkpoint coordinates get_checkpoint_pos(checkpoints[i], x, y, z) // Check if checkpoint is red if get_checkpoint_color(checkpoints[i]) == COLOR_RED then // Set waypoint at checkpoint coordinates set_player_waypoint($PLAYER_CHAR, x, y, z) end end end END :MARK_CHECKPOINTS 0A95: return
Its a shit code, im 99% percent he just prompted a request to chatgpt with your description of the script