Angel9
Active member
Need open source cleo walk script.
1. Command start and walk to ten cordinates
1. Command start and walk to ten cordinates
https://ugbase.eu/threads/project-no-sampfuncs.22400/Need open source cleo walk script.
1. Command start and walk to ten cordinates
Share what you madehow to stop script?.Thanks bro
{$CLEO .cs}
0000: NOP
wait 10000 // wait until samp is ready
while true
wait 0
if
0ADC: test_cheat "ON" // if press keys O AND N
then
0@ = true
0AD1: show_formatted_text_highpriority "Walking...." time 2000
end
if
0@ == true
then // 1
if
00ED: actor $PLAYER_ACTOR sphere 0 near_point 1303.3429 1272.8828 radius 1.0 1.0 on_foot // start position
then // 2
repeat
wait 0
0AB1: @Set_Game_key 2 KeyOffSet 0x57 State 255
0AB1: @CAMERA_AT_POS 3 XYZ: 1308.2167 1291.9474 10.8203
until 00ED: actor $PLAYER_ACTOR sphere 0 near_point 1308.2167 1291.9474 radius 1.0 1.0 on_foot /// repeat until reach position
if
00ED: actor $PLAYER_ACTOR sphere 0 near_point 1308.2167 1291.9474 radius 1.0 1.0 on_foot // if reached position
then // 3
repeat
wait 0
0AB1: @Set_Game_key 2 KeyOffSet 0x57 State 255
0AB1: @CAMERA_AT_POS 3 XYZ: 1299.5552 1307.0544 10.8203
until 00ED: actor $PLAYER_ACTOR sphere 0 near_point 1299.5552 1307.0544 radius 1.0 1.0 on_foot /// repeat until reach position
if
00ED: actor $PLAYER_ACTOR sphere 0 near_point 1299.5552 1307.0544 radius 1.0 1.0 on_foot // if reached position
then // 4
repeat
wait 0
0AB1: @Set_Game_key 2 KeyOffSet 0x57 State 255
0AB1: @CAMERA_AT_POS 3 XYZ: 1299.5552 1307.0544 10.8203
until 00ED: actor $PLAYER_ACTOR sphere 0 near_point 1299.5552 1307.0544 radius 1.0 1.0 on_foot /// repeat until reach position
if
00ED: actor $PLAYER_ACTOR sphere 0 near_point 1299.5552 1307.0544 radius 1.0 1.0 on_foot // if reached position
then // 5
repeat
wait 0
0AB1: @Set_Game_key 2 KeyOffSet 0x57 State 255
0AB1: @CAMERA_AT_POS 3 XYZ: 1295.8840 1288.2472 10.8203
until 00ED: actor $PLAYER_ACTOR sphere 0 near_point 1295.8840 1288.2472 radius 1.0 1.0 on_foot /// repeat until reach position
if
00ED: actor $PLAYER_ACTOR sphere 0 near_point 1295.8840 1288.2472 radius 1.0 1.0 on_foot // if reached position
then // 6 , so we have 6 - then , that means we need 6 end
0AD1: show_formatted_text_highpriority "You reached last position" time 2000
0@ = false // disable bot when reach last point
end
end
end
end
end
end
end // also while true always must have - end
:Set_Game_Key
// 0AB1: @Set_Game_key 2 KeyOffSet 0x57 State 255
2@ = 0xB731A8
0@ *= 2
005A: 2@ += 0@ // (int)
0A8C: write_memory 2@ size 1 value 1@ virtual_protect 0
0AB2: ret 0
//0AB1: @AIM_AT_POS 3 XYZ: 1@ 2@ 3@
:CAMERA_AT_POS
0087: 8@ = 3@
068D: get_camera_position_to 3@ 4@ 5@
0063: 0@ -= 3@
0063: 1@ -= 4@
0604: get_Z_angle_for_point 0@ 1@ store_to 6@
6@ -= 90.0
0017: 6@ /= 57.2957795
005B: 6@ += 8@ // (float)
0A8D: 7@ = read_memory 0xB6F248 size 4 virtual_protect 0
0A25: set_camera_on_players_X_angle 7@ Z_angle 6@
0661: "by Opcode.eXe | UGBASE.EU"
0AB2: 0
When you open code you have to click yes button when window pop upHow to fix problem
All code change?, open sanny builder
https://i.ibb.co/mbs008M/image-2021-05-08-075456.png
Why you removed code??ohhh, is there a concrete example? Print number a repeat script?
{$CLEO .cs}
0000: NOP
wait 10000 // wait until samp is ready
while true
wait 0
if
0ADC: test_cheat "ON" // if press keys O AND N
then
0@ = true
0AD1: show_formatted_text_highpriority "Walking...." time 2000
end
if
0@ == true
then // 1
if
00ED: actor $PLAYER_ACTOR sphere 0 near_point 1303.3429 1272.8828 radius 1.0 1.0 on_foot // start position
then // 2
repeat
wait 0
0AB1: @Set_Virtual_Key 2 KeyOffSet 0x57 state 255
0AB1: @CAMERA_AT_POS 3 XYZ: 1308.2167 1291.9474 10.8203
until 00ED: actor $PLAYER_ACTOR sphere 0 near_point 1308.2167 1291.9474 radius 1.0 1.0 on_foot /// repeat until reach position
0AB1: @Set_Virtual_Key 2 KeyOffSet 0x57 state 0
if
00ED: actor $PLAYER_ACTOR sphere 0 near_point 1308.2167 1291.9474 radius 1.0 1.0 on_foot // if reached position
then // 3
repeat
wait 0
0AB1: @Set_Virtual_Key 2 KeyOffSet 0x57 state 255
0AB1: @CAMERA_AT_POS 3 XYZ: 1299.5552 1307.0544 10.8203
until 00ED: actor $PLAYER_ACTOR sphere 0 near_point 1299.5552 1307.0544 radius 1.0 1.0 on_foot /// repeat until reach position
0AB1: @Set_Virtual_Key 2 KeyOffSet 0x57 state 0
if
00ED: actor $PLAYER_ACTOR sphere 0 near_point 1299.5552 1307.0544 radius 1.0 1.0 on_foot // if reached position
then // 4
repeat
wait 0
0AB1: @Set_Virtual_Key 2 KeyOffSet 0x57 state 255
0AB1: @CAMERA_AT_POS 3 XYZ: 1299.5552 1307.0544 10.8203
until 00ED: actor $PLAYER_ACTOR sphere 0 near_point 1299.5552 1307.0544 radius 1.0 1.0 on_foot /// repeat until reach position
0AB1: @Set_Virtual_Key 2 KeyOffSet 0x57 state 0
if
00ED: actor $PLAYER_ACTOR sphere 0 near_point 1299.5552 1307.0544 radius 1.0 1.0 on_foot // if reached position
then // 5
repeat
wait 0
0AB1: @Set_Virtual_Key 2 KeyOffSet 0x57 state 255
0AB1: @CAMERA_AT_POS 3 XYZ: 1295.8840 1288.2472 10.8203
until 00ED: actor $PLAYER_ACTOR sphere 0 near_point 1295.8840 1288.2472 radius 1.0 1.0 on_foot /// repeat until reach position
0AB1: @Set_Virtual_Key 2 KeyOffSet 0x57 state 0
if
00ED: actor $PLAYER_ACTOR sphere 0 near_point 1295.8840 1288.2472 radius 1.0 1.0 on_foot // if reached position
then // 6 , so we have 6 - then , that means we need 6 end
1@ += 1 // counter
0AD1: show_formatted_text_highpriority "~w~You reached last position ~n~ ~r~Current runing time: %d" time 2000 1@
end
end
end
end
end
end
if 1@ >= 10 // if runned 10 or more times then disable code
then
0@ = false // disable bot
end
end // also while true always must have - end
:Set_Virtual_Key
{
255 = true
0 = false
0AB1: @Set_Virtual_Key 2 KeyOffSet 0x57 state 255
}
2@ = 0xB72CC8
0@ *= 2
005A: 2@ += 0@ // (int)
0A8C: write_memory 2@ size 1 value 1@ virtual_protect 0
0AB2: ret 0
//0AB1: @AIM_AT_POS 3 XYZ: 1@ 2@ 3@
:CAMERA_AT_POS
0087: 8@ = 3@
068D: get_camera_position_to 3@ 4@ 5@
0063: 0@ -= 3@
0063: 1@ -= 4@
0604: get_Z_angle_for_point 0@ 1@ store_to 6@
6@ -= 90.0
0017: 6@ /= 57.2957795
005B: 6@ += 8@ // (float)
0A8D: 7@ = read_memory 0xB6F248 size 4 virtual_protect 0
0A25: set_camera_on_players_X_angle 7@ Z_angle 6@
0661: "by Opcode.eXe | UGBASE.EU"
0AB2: 0