Hello everybody, i want to make a cleo bot but i dont know how to combine what i have with a somethink to auto take a boat.
And this script to take the boat
Code:
// This file was decompiled using sascm.ini published by Seemann (http://sannybuilder.com/files/SASCM.rar) on 13.10.2007
{$VERSION 3.1.0027}
{$CLEO .cs}
//-------------MAIN---------------
thread 'AUTO_GETMATS'
0662: NOP "XZYTRO SAYS HI"
:GET_INFO_FROM_INI
wait 0
0AF0: 0@ = get_int_from_ini_file "cleo\auto_getmats.ini" section "DELAY" key "MILISECONDS"
0AF4: 1@v = read_string_from_ini_file "cleo\auto_getmats.ini" section "COMMAND" key "TYPE"
:MAIN
wait 0
if and
056D: actor $PLAYER_ACTOR defined
0256: player $PLAYER_CHAR defined
else_jump @MAIN
if or
00EC: actor $PLAYER_ACTOR sphere 0 near_point 464.2072 -2081.4988 0.4238 radius 5.0
00EC: actor $PLAYER_ACTOR sphere 0 near_point 91.2645 -1898.22 0.5026 radius 5.0 5.0
00EC: actor $PLAYER_ACTOR sphere 0 near_point 78.339, -923.2838, 0.4589 radius 5.0 5.0
00EC: actor $PLAYER_ACTOR sphere 0 near_point -129.9738 -734.0774 0.5103 radius 5.0 5.0
00EC: actor $PLAYER_ACTOR sphere 0 near_point 748.7361 -188.7847 0.4522 radius 5.0 5.0
00EC: actor $PLAYER_ACTOR sphere 0 near_point 1911.8607 -84.1363 0.4485 radius 5.0 5.0
00EC: actor $PLAYER_ACTOR sphere 0 near_point 2203.5452 383.6358 0.4836 radius 5.0 5.0
00EC: actor $PLAYER_ACTOR sphere 0 near_point 2813.4158 368.5207 0.4708 radius 5.0 5.0
00EC: actor $PLAYER_ACTOR sphere 0 near_point 3551.4275 -695.1501 0.9051 radius 5.0 5.0
00EC: actor $PLAYER_ACTOR sphere 0 near_point 3053.696 -2007.0883 0.5969 radius 5.0 5.0
00EC: actor $PLAYER_ACTOR sphere 0 near_point 546.9872 -1955.6831 1.1061 radius 5.0 5.0
else_jump @MAIN
0AF9: samp say_msg "/%s" 1@v
jump @WAIT
:WAIT
wait 0@
if or
00EC: actor $PLAYER_ACTOR sphere 0 near_point 464.2072 -2081.4988 0.4238 radius 5.0
00EC: actor $PLAYER_ACTOR sphere 0 near_point 91.2645 -1898.22 0.5026 radius 5.0 5.0
00EC: actor $PLAYER_ACTOR sphere 0 near_point 78.339, -923.2838, 0.4589 radius 5.0 5.0
00EC: actor $PLAYER_ACTOR sphere 0 near_point -129.9738 -734.0774 0.5103 radius 5.0 5.0
00EC: actor $PLAYER_ACTOR sphere 0 near_point 748.7361 -188.7847 0.4522 radius 5.0 5.0
00EC: actor $PLAYER_ACTOR sphere 0 near_point 1911.8607 -84.1363 0.4485 radius 5.0 5.0
00EC: actor $PLAYER_ACTOR sphere 0 near_point 2203.5452 383.6358 0.4836 radius 5.0 5.0
00EC: actor $PLAYER_ACTOR sphere 0 near_point 2813.4158 368.5207 0.4708 radius 5.0 5.0
00EC: actor $PLAYER_ACTOR sphere 0 near_point 3551.4275 -695.1501 0.9051 radius 5.0 5.0
00EC: actor $PLAYER_ACTOR sphere 0 near_point 3053.696 -2007.0883 0.5969 radius 5.0 5.0
00EC: actor $PLAYER_ACTOR sphere 0 near_point 546.9872 -1955.6831 1.1061 radius 5.0 5.0
else_jump @MAIN
0AF9: samp say_msg "/%s" 1@v
jump @WAIT
And this script to take the boat
Code:
while true
wait 0
if
0AE2: 0@ = random_vehicle_near_point 546.9872 -1955.6831 1.1061 in_radius 10000.0 find_next 0 pass_wrecked 1 //IF and SET
then
repeat
if
0137: car 0@ id == #Speeder
then
// this is the place where helicopter becoms a part of the scrypt
end
until 8AE2: not 0@ = random_vehicle_near_point 546.9872 -1955.6831 1.1061 in_radius 10000.0 find_next 1 pass_wrecked 1 //IF and SET
end
end