hi, can somebody make this autoshoot to work only on deagle thanks.
I dont have the knowledge to do that manJust add id of gun and thats it...
I dont have compiler so can you compile it please. I mean I have sanny builder but i dont know how to use it (it crashes every time i try to compile something for cleo)Do i have to create you script or you have compiler to compile it?
// This file was decompiled using SASCM.ini published by GTAG (http://gtag.gtagaming.com/opcode-database) on 14.6.2013
{$CLEO .cs}
{$USE bitwise}
0000: NOP
0001: wait 1750 ms
0AF8: samp add_message_to_chat "BlastHack.Net {ffffff}- ëó÷øèå ÷èòû îò BH Team!" color 6316287
0B34: samp register_client_command "as" to_label @Noname_289
:Noname_75
0001: wait 0 ms
00D6: if and
00E1: player 0 pressed_key 6
0039: 31@ == 1
004D: jump_if_false @Noname_282
00D6: if
02D8: actor $PLAYER_ACTOR current_weapon == 24
004D: jump_if_false @Noname_282
00A0: store_actor $PLAYER_ACTOR position_to 0@ 1@ 2@
0AB1: call_scm_func @Noname_441 2 9@ $PLAYER_ACTOR 9@
0AA6: call_method 5327216 struct 11989032 num_params 6 pop 0 3@v 6@v 2@ 1@ 0@ 1.0
0AA6: call_method 5327216 struct 11989032 num_params 6 pop 0 6@v 10@v 2@ 1@ 0@ 9@
00D6: if
86BD: not no_obstacles_between 3@ 4@ 5@ and 6@ 7@ 8@ solid 0 car 0 actor 1 object 0 particle 0
004D: jump_if_false @Noname_282
0B56: set_game_key 17 state 255
:Noname_282
0002: jump @Noname_75
:Noname_289
0B12: 31@ = 31@ XOR 1
00D6: if
0039: 31@ == 1
004D: jump_if_false @Noname_381
0AF8: samp add_message_to_chat "[BH Team]: {ffffff}Àâòî-âûñòðåë {44ff44}âêëþ÷åí" color 6316287
0002: jump @Noname_439
:Noname_381
0AF8: samp add_message_to_chat "[BH Team]: {ffffff}Àâòî-âûñòðåë {ff4444}âûêëþ÷åí" color 6316287
:Noname_439
0B43: samp cmd_ret
:Noname_441
0A96: 2@ = actor 1@ struct
000A: 2@ += 1836
0A8D: 2@ = read_memory 2@ size 1 virtual_protect 0
0085: 1@ = 0@ // (int)
00D6: if
0039: 2@ == 2
004D: jump_if_false @Noname_502
000A: 1@ += 25
:Noname_502
00D6: if
0039: 2@ == 3
004D: jump_if_false @Noname_527
000A: 1@ += 36
:Noname_527
0012: 1@ *= 112
000A: 1@ += 13150904
000A: 1@ += 8
0A8D: 1@ = read_memory 1@ size 4 virtual_protect 0
0AB2: 1 1@ ret
My game crashed when I shoot with deagle.Try this
PHP:// This file was decompiled using SASCM.ini published by GTAG (http://gtag.gtagaming.com/opcode-database) on 14.6.2013 {$CLEO .cs} {$USE bitwise} 0000: NOP 0001: wait 1750 ms 0AF8: samp add_message_to_chat "BlastHack.Net {ffffff}- ëó÷øèå ÷èòû îò BH Team!" color 6316287 0B34: samp register_client_command "as" to_label @Noname_289 :Noname_75 0001: wait 0 ms 00D6: if and 00E1: player 0 pressed_key 6 0039: 31@ == 1 004D: jump_if_false @Noname_282 00D6: if 02D8: actor $PLAYER_ACTOR current_weapon == 24 004D: jump_if_false @Noname_282 00A0: store_actor $PLAYER_ACTOR position_to 0@ 1@ 2@ 0AB1: call_scm_func @Noname_441 2 9@ $PLAYER_ACTOR 9@ 0AA6: call_method 5327216 struct 11989032 num_params 6 pop 0 3@v 6@v 2@ 1@ 0@ 1.0 0AA6: call_method 5327216 struct 11989032 num_params 6 pop 0 6@v 10@v 2@ 1@ 0@ 9@ 00D6: if 86BD: not no_obstacles_between 3@ 4@ 5@ and 6@ 7@ 8@ solid 0 car 0 actor 1 object 0 particle 0 004D: jump_if_false @Noname_282 0B56: set_game_key 17 state 255 :Noname_282 0002: jump @Noname_75 :Noname_289 0B12: 31@ = 31@ XOR 1 00D6: if 0039: 31@ == 1 004D: jump_if_false @Noname_381 0AF8: samp add_message_to_chat "[BH Team]: {ffffff}Àâòî-âûñòðåë {44ff44}âêëþ÷åí" color 6316287 0002: jump @Noname_439 :Noname_381 0AF8: samp add_message_to_chat "[BH Team]: {ffffff}Àâòî-âûñòðåë {ff4444}âûêëþ÷åí" color 6316287 :Noname_439 0B43: samp cmd_ret :Noname_441 0A96: 2@ = actor 1@ struct 000A: 2@ += 1836 0A8D: 2@ = read_memory 2@ size 1 virtual_protect 0 0085: 1@ = 0@ // (int) 00D6: if 0039: 2@ == 2 004D: jump_if_false @Noname_502 000A: 1@ += 25 :Noname_502 00D6: if 0039: 2@ == 3 004D: jump_if_false @Noname_527 000A: 1@ += 36 :Noname_527 0012: 1@ *= 112 000A: 1@ += 13150904 000A: 1@ += 8 0A8D: 1@ = read_memory 1@ size 4 virtual_protect 0 0AB2: 1 1@ ret
It is crashing because the script needs SAMPFUNCS, because of the opcodes in it.My game crashed when I shoot with deagle.
I have sampfuncs rn, and the script only works with deagle, but when I shoot with deagle it fire one bullet and then crash my game
// This file was decompiled using SASCM.ini published by GTAG (http://gtag.gtagaming.com/opcode-database) on 14.6.2013
{$CLEO .cs}
{$USE bitwise}
{$USE SAMPFUNCS}
0000: NOP
0001: wait 1750 ms
0AF8: samp add_message_to_chat "BlastHack.Net {ffffff}- ëó÷øèå ÷èòû îò BH Team!" color 6316287
0B34: samp register_client_command "as" to_label @Noname_289
:Noname_75
0001: wait 0 ms
00D6: if and
00E1: player 0 pressed_key 6
0039: 31@ == 1
004D: jump_if_false @Noname_282
00D6: if
02D8: actor $PLAYER_ACTOR current_weapon == 24
004D: jump_if_false @Noname_282
00A0: store_actor $PLAYER_ACTOR position_to 0@ 1@ 2@
0AB1: call_scm_func @Noname_441 2 9@ $PLAYER_ACTOR 9@
0AA6: call_method 5327216 struct 11989032 num_params 6 pop 0 3@v 6@v 2@ 1@ 0@ 1.0
0AA6: call_method 5327216 struct 11989032 num_params 6 pop 0 6@v 10@v 2@ 1@ 0@ 9@
00D6: if
86BD: not no_obstacles_between 3@ 4@ 5@ and 6@ 7@ 8@ solid 0 car 0 actor 1 object 0 particle 0
004D: jump_if_false @Noname_282
0B56: set_game_key 17 state 255
:Noname_282
0002: jump @Noname_75
:Noname_289
0B12: 31@ = 31@ XOR 1
00D6: if
0039: 31@ == 1
004D: jump_if_false @Noname_381
0AF8: samp add_message_to_chat "[BH Team]: {ffffff}Àâòî-âûñòðåë {44ff44}âêëþ÷åí" color 6316287
0002: jump @Noname_439
:Noname_381
0AF8: samp add_message_to_chat "[BH Team]: {ffffff}Àâòî-âûñòðåë {ff4444}âûêëþ÷åí" color 6316287
:Noname_439
0B43: samp cmd_ret
:Noname_441
0A96: 2@ = actor 1@ struct
000A: 2@ += 1836
0A8D: 2@ = read_memory 2@ size 1 virtual_protect 0
0085: 1@ = 0@ // (int)
00D6: if
0039: 2@ == 2
004D: jump_if_false @Noname_502
000A: 1@ += 25
:Noname_502
00D6: if
0039: 2@ == 3
004D: jump_if_false @Noname_527
000A: 1@ += 36
:Noname_527
0012: 1@ *= 112
000A: 1@ += 13150904
000A: 1@ += 8
0A8D: 1@ = read_memory 1@ size 4 virtual_protect 0
0AB2: 1 1@ ret
jump @Noname_75
Some line in this script is bugging.I just tested it here and it is crashing too,unfortunately I can't help you in this situationWHen I activate the script and fire with the deagle my game just crash, i have sampfuncs and r1 samp
So its not possible to make it work only on deagle?Some line in this script is bugging.I just tested it here and it is crashing too,unfortunately I can't help you in this situation
But the script is already configured for Deagle, but some line of it is bugging in which it does not make the script workSo its not possible to make it work only on deagle?
Try PleaseCan you try to configure this one for deagle only maybe this one will work?
{$CLEO .cs}
0000: NOP
0@ = 0
:Noname_9
wait 0
if
Pad.TestCheat("AUS")
jf @Noname_143
if
0@ == 0
jf @Noname_99
0@ = 1
Text.PrintStringNow("AutoShot by Niko~n~~g~Enabled", 1000)
jump @Noname_143
:Noname_99
0@ = 0
Text.PrintStringNow("AutoShot by Niko~n~~r~Disabled", 1000)
:Noname_143
if
0@ == 1
jf @Noname_230
if
Pad.IsKeyPressed(2)
jf @Noname_230
02D8: actor $PLAYER_ACTOR current_weapon == 24
cleo_call @Noname_402 1 9@ 6@
if
6@ == 1
jf @Noname_230
cleo_call @Noname_237 1 8
:Noname_230
jump @Noname_9
:Noname_237
1@ = 12006488
005A: 1@ += 0@ // (int)
Streaming.LoadAllModels(1@, 1, 255, 0)
cleo_return 0
:Noname_272
Memory.GetPedPointer(2@, 1@)
2@ += 1836
Hid.IsReleased(2@, 2@, 1, 0)
0085: 1@ = 0@ // (int)
if
2@ == 2
jf @Noname_333
1@ += 25
:Noname_333
if
2@ == 3
jf @Noname_358
1@ += 36
:Noname_358
1@ *= 112
1@ += 13150904
1@ += 8
Hid.IsReleased(1@, 1@, 4, 0)
cleo_return 1 1@
:Noname_402
cleo_call @Noname_272 2 0@ $0[3] 9@
Char.GetCoordinates($0[3], 0@, 1@, 2@)
Memory.CallMethod(5327216, 11989032, 6, 0, 3@v, 6@v, 2@, 1@, 0@, 1.0)
Memory.CallMethod(5327216, 11989032, 6, 0, 6@v, 10@v, 2@, 1@, 0@, 9@)
if
not World.IsLineOfSightClear(3@, 4@, 5@, 6@, 7@, 8@, False, False, True, False, False)
jf @Noname_562
10@ = 1
jump @Noname_569
:Noname_562
10@ = 0
:Noname_569
cleo_return 1 10@
Unfortunately, I don't know how to help you (I don't have much knowledge about scripting). But there are people who are already professionals in this as @Parazitas , @Frozen ,etc.I just try to help.This one doesn't work on any weapons