Okay I found this on forum and re-edited cords. Thing I want from script is, when I am at xy cords it will autowrite /getmats. I am new so can someone complie this script and attach it for download as it shows as locked in my directory and I can only see it when I am trying to edit it.
Code:
{$CLEO .cs}
THREAD "THREAD_BY_OPCODEXE"
0662: NOP "www.youtube.com/OpcodeXe"
0662: NOP ""
:LOAD
wait 0
if
Player.Defined(0)
jf @LOAD
if
8AF7: get_samp_base_to 0@
then
0A93: end_custom_thread
end
repeat
wait 400
until 0AFA: is_samp_structures_available
// SET YOUR OWN POS HERE
1@ = 1423.9548 //YOUR POS Y/
2@ = -1319.2207 // YOR POS X
3@ = 13.5547 // YOU POST Z
// SET YOUR OWN POS HERE
31@ = 1 // ENABLE CLEO
:START
wait 0
if
0ADC: test_cheat "b"
jf @MAIN
if
31@ == 0 // ITS OFF
then
31@ = 1 // ENABLE IT
018C: play_sound 1083 at 0.0 0.0 0.0
0ACD: show_text_highpriority "Auto /getmats ON" time 1337
else
31@ = 0 // TURN IT OFF
018C: play_sound 1084 at 0.0 0.0 0.0
0ACD: show_text_highpriority "Auto /getmats OFF" time 1337
end
:MAIN
if
31@ == 1 // on
jf @START
if
00EC: actor $PLAYER_ACTOR sphere 0 near_point 1@ 2@ radius 5.0 5.0
jf @START
0AF9: samp say_msg "/Getmats"
wait 2500
jump @START