Hey I have some code for auto fish job but I want to do /fish at specific coords without making that messy spam chat with the command /fish more like 19.5 seconds delay.
The coords are
AddPlayerClass(35,2305.0837,518.1480,-0.5852,173.1371,0,0,0,0,0,0); // fish4
AddPlayerClass(35,2299.3743,518.1319,1.5882,181.3069,0,0,0,0,0,0); // fish5
AddPlayerClass(35,2294.5461,518.9507,1.9573,187.2055,0,0,0,0,0,0); // fish6
AddPlayerClass(35,2288.2839,518.3187,0.9566,205.8394,0,0,0,0,0,0); // fish7
Code:
{$CLEO .cs}
0000: NOP
REPEAT
WAIT 0
UNTIL 0AFA:
WHILE TRUE
WAIT 0
IF 0B61: samp is_local_player_spawned
THEN
FOR 0@ = 0 TO 2304
IF 0C5D: samp textdraw 0@ is_exists
THEN
0C59: samp textdraw 0@ get_model 1@ rotation 2@ 3@ 4@ zoom 5@ veh_color 6@ 7@
IF 1@ == 1599
THEN
0209: 8@ = random_int_in_ranges 500 1000 // GENERATE RANDOM TIME, 1000 = 1 SECOND >> EDIT TIME BY YOURESELF.. <<
WAIT 8@ // WAIT GENERATED TIME >> HUMAN NEEDS TIME TO REACT, SO WE MAKING SMALL DELAY BEFORE CLICKS <<
0BCA: samp send_click_textdraw 0@
wait 15300
say "/fish"
END
END
END
END
END
The coords are
AddPlayerClass(35,2305.0837,518.1480,-0.5852,173.1371,0,0,0,0,0,0); // fish4
AddPlayerClass(35,2299.3743,518.1319,1.5882,181.3069,0,0,0,0,0,0); // fish5
AddPlayerClass(35,2294.5461,518.9507,1.9573,187.2055,0,0,0,0,0,0); // fish6
AddPlayerClass(35,2288.2839,518.3187,0.9566,205.8394,0,0,0,0,0,0); // fish7