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
FULL CODE:
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
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