CLEO Help [HELP] Creating the SADLER VEHICLE! Instead of Random Cars

CLEO related
Status
Not open for further replies.

noobish

Active member
Joined
Feb 16, 2014
Messages
120
Reaction score
0
[move]Exactly guys!  :yesyes:[/move]

I found out why the SadlerBomber Bombs random vehicle instead of Sadler vehicle only!

I need the code on how to edit this "random getting vehicle" into "Sadler Vehicle" Only.  This could be more undetectable


Code:
LINE: 0AE2: 20@ = random_vehicle_near_point 17@ 18@ 19@ in_radius 150.0 find_next 1 pass_wrecked 0 //IF and SET

Code:
04C4: store_coords_to 5@ 6@ 7@ from_actor 4@ with_offset 5.0 0.0 150.0 
04C4: store_coords_to 17@ 18@ 19@ from_actor $PLAYER_ACTOR with_offset 0.0 0.0 -1.0 
0AE2: 20@ = random_vehicle_near_point 17@ 18@ 19@ in_radius 150.0 find_next 1 pass_wrecked 0 //IF and SET

FULL CODE:
Code:
// This file was decompiled using sascm.ini published by GTAG (http://gtag.gtagaming.com/opcode-database) on 14.6.2013

{$VERSION 3.1.0000}
{$CLEO .cs}

//-------------MAIN---------------
thread 'Car Bomber' 
0B34: samp register_client_command "target" to_label @CAR_BOMBER_741 
SAMP.ReadSAMPMemory(25@, 81824, 2)
SAMP.ReadSAMPMemory(26@, 77152, 2)
31@ = 0 

:CAR_BOMBER_65
wait 0 
if 
  31@ == 1 
else_jump @CAR_BOMBER_65 
04C4: store_coords_to 5@ 6@ 7@ from_actor 4@ with_offset 5.0 0.0 150.0 
04C4: store_coords_to 17@ 18@ 19@ from_actor $PLAYER_ACTOR with_offset 0.0 0.0 -1.0 
0AE2: 20@ = random_vehicle_near_point 17@ 18@ 19@ in_radius 150.0 find_next 1 pass_wrecked 0 //IF and SET 
if 
056E:   car 20@ defined 
else_jump @CAR_BOMBER_282 
SAMP.WriteSAMPMemory(81824, 50064, 2)
SAMP.WriteSAMPMemory(77152, 50064, 2)
072A: put_actor $PLAYER_ACTOR into_car 20@ driverseat 
wait 250 
Car.PutAt(20@, 5@, 6@, 7@)
Car.Health(20@) = 0
0731: set_car 20@ y_angle_to 180.0 
wait 250 
0362: remove_actor $PLAYER_ACTOR from_car_and_place_at 17@ 18@ 19@ 
jump @CAR_BOMBER_282 

:CAR_BOMBER_282
wait 0 
0AE2: 21@ = random_vehicle_near_point 17@ 18@ 19@ in_radius 150.0 find_next 1 pass_wrecked 0 //IF and SET 
if 
056E:   car 21@ defined 
else_jump @CAR_BOMBER_424 
04C4: store_coords_to 5@ 6@ 7@ from_actor 4@ with_offset -5.0 0.0 150.0 
072A: put_actor $PLAYER_ACTOR into_car 21@ driverseat 
wait 250 
Car.PutAt(21@, 5@, 6@, 7@)
Car.Health(21@) = 0
wait 250 
0731: set_car 21@ y_angle_to 180.0 
0362: remove_actor $PLAYER_ACTOR from_car_and_place_at 17@ 18@ 19@ 
jump @CAR_BOMBER_424 

:CAR_BOMBER_424
0AE2: 22@ = random_vehicle_near_point 17@ 18@ 19@ in_radius 150.0 find_next 1 pass_wrecked 0 //IF and SET 
wait 0 
if 
056E:   car 22@ defined 
else_jump @CAR_BOMBER_566 
04C4: store_coords_to 5@ 6@ 7@ from_actor 4@ with_offset 0.0 5.0 150.0 
072A: put_actor $PLAYER_ACTOR into_car 22@ driverseat 
wait 250 
Car.PutAt(22@, 5@, 6@, 7@)
Car.Health(22@) = 0
wait 250 
0731: set_car 22@ y_angle_to 180.0 
0362: remove_actor $PLAYER_ACTOR from_car_and_place_at 17@ 18@ 19@ 
jump @CAR_BOMBER_566 

:CAR_BOMBER_566
wait 0 
0AE2: 23@ = random_vehicle_near_point 17@ 18@ 19@ in_radius 150.0 find_next 0 pass_wrecked 0 //IF and SET 
if 
056E:   car 23@ defined 
else_jump @CAR_BOMBER_1001 
04C4: store_coords_to 5@ 6@ 7@ from_actor 4@ with_offset 0.0 -5.0 150.0 
072A: put_actor $PLAYER_ACTOR into_car 23@ driverseat 
wait 250 
Car.PutAt(23@, 5@, 6@, 7@)
Car.Health(23@) = 0
wait 250 
0731: set_car 23@ y_angle_to 180.0 
0362: remove_actor $PLAYER_ACTOR from_car_and_place_at 17@ 18@ 19@ 
SAMP.WriteSAMPMemory(81824, 25@, 2)
SAMP.WriteSAMPMemory(77152, 26@, 2)
31@ = 0 
SAMP.CmdRet
jump @CAR_BOMBER_65 

:CAR_BOMBER_741
wait 0 
   SAMP.IsCommandTyped(0@)
if 
0AD4: 1@ 0@ format "%d" 2@  
else_jump @CAR_BOMBER_849 
if 
   SAMP.IsPlayerConnected(2@)
else_jump @CAR_BOMBER_954 
4@ = SAMP.GetActorHandleByPlayerID(2@)
if 
056D:   actor 4@ defined 
else_jump @CAR_BOMBER_891 
if 
   not Actor.Driving($PLAYER_ACTOR)
else_jump @CAR_BOMBER_1045 
31@ = 1 
SAMP.CmdRet
jump @CAR_BOMBER_65 

:CAR_BOMBER_849
wait 0 
0AF8: samp add_message_to_chat "USAGE: /target <ID>" 12566463  
31@ = 0 
SAMP.CmdRet

:CAR_BOMBER_891
wait 0 
0AF8: samp add_message_to_chat "ERROR: The target is not streamed" 12451840  
31@ = 0 
SAMP.CmdRet
jump @CAR_BOMBER_65 

:CAR_BOMBER_954
wait 0 
0AF8: samp add_message_to_chat "ERROR: Invalid ID" 12451840  
SAMP.CmdRet
31@ = 0 
jump @CAR_BOMBER_65 

:CAR_BOMBER_1001
wait 0 
SAMP.WriteSAMPMemory(81824, 25@, 2)
SAMP.WriteSAMPMemory(77152, 26@, 2)
SAMP.CmdRet
31@ = 0 
jump @CAR_BOMBER_65 

:CAR_BOMBER_1045
wait 0 
0AF8: samp add_message_to_chat "ERROR: You must be not driving" 12451840  
SAMP.CmdRet
31@ = 0 
jump @CAR_BOMBER_65

Pending [member=6677]TH3RM4L[/member]  and [member=60]Opcode.eXe[/member]

I know and i hope your a PROFESSIONAL and you can teach me in advance

TH3RM4L: stop double-posting, use the MODIFY button
 

ClausBear

Expert
Joined
Aug 19, 2013
Messages
647
Reaction score
0
He specifies the vehicles he wants to bomb with. He buys sadlers and places them close to him and each other. Then he specifies them and bombs with them.
 

noobish

Active member
Joined
Feb 16, 2014
Messages
120
Reaction score
0
TH3RM4L link said:
IDK how to do that.

But on youtube video It only spawns the Sadler Vehicle!  :imoverit:

Youtube search "NGRP SadlerBomber by Howl"  :eek:h_stop_it_u:
 

ClausBear

Expert
Joined
Aug 19, 2013
Messages
647
Reaction score
0
noobish link said:
[quote author=TH3RM4L link=topic=8261.msg47425#msg47425 date=1405172327]
IDK how to do that.

But on youtube video It only spawns the Sadler Vehicle!  :imoverit:

Youtube search "NGRP SadlerBomber by Howl"  :eek:h_stop_it_u:
[/quote]

ur indeed a noob
 

MrUnknown

Active member
Joined
Oct 24, 2013
Messages
140
Reaction score
4
pls

hey-jim-please-do-me-a-favor-and-hang-yourself-7.jpg


please-do-me-a-favor-and-hang-yourself-7.jpg
 

ThermaL

Expert
Joined
Oct 23, 2013
Messages
1,593
Reaction score
4
It doesn't spawn Sadlers. As you can see on his radar, he is getting teleported in cars that are 3 meters away from him. He put the Sadlers near him before trolling so he can be teleported in them.
 

blackHat

Expert
Joined
Jul 28, 2013
Messages
930
Reaction score
2
wait so you want a specific car ?

use car model function for that
like
$model = $randomcar
if $model = #bullet
then
your code here.

-----
check the opcode list
 

ThermaL

Expert
Joined
Oct 23, 2013
Messages
1,593
Reaction score
4
blackHat link said:
wait so you want a specific car ?

use car model function for that
like
$model = $randomcar
if $model = #bullet
then
your code here.

-----
check the opcode list
That can use be used only if you teleport in the vehicle.
 

blackHat

Expert
Joined
Jul 28, 2013
Messages
930
Reaction score
2
TH3RM4L link said:
[quote author=blackHat link=topic=8261.msg48029#msg48029 date=1405442708]
wait so you want a specific car ?

use car model function for that
like
$model = $randomcar
if $model = #bullet
then
your code here.

-----
check the opcode list
That can use be used only if you teleport in the vehicle.
[/quote]

this code already teleport you to the car ,, without teleport the cars wont be synced
 

ThermaL

Expert
Joined
Oct 23, 2013
Messages
1,593
Reaction score
4
blackHat link said:
[quote author=TH3RM4L link=topic=8261.msg48033#msg48033 date=1405443413]
[quote author=blackHat link=topic=8261.msg48029#msg48029 date=1405442708]
wait so you want a specific car ?

use car model function for that
like
$model = $randomcar
if $model = #bullet
then
your code here.

-----
check the opcode list
That can use be used only if you teleport in the vehicle.
[/quote]

this code already teleport you to the car ,, without teleport the cars wont be synced
[/quote]The idea is to find all Sadlers that are near you, not teleporting in all cars that are on the map and checking if they're a Sadler, that's very detectable and a waste of time.
 
Status
Not open for further replies.
Top