Zin
Expert
- Joined
- Aug 1, 2013
- Messages
- 1,738
- Solutions
- 2
- Reaction score
- 117
I could not make my Auto RP gun draw script so i tried to edit opcodes because it spams and the messages are not for heavy rp servers.
it compiled fine but it does not seem to work nothing happens when i type "GUN" or press the button to say the message.
it compiled fine but it does not seem to work nothing happens when i type "GUN" or press the button to say the message.
Code:
// This file was decompiled using SASCM.ini published by GTAG (http://gtag.gtagaming.com/opcode-database) on 14.6.2013
{$CLEO .cs}
//-------------MAIN---------------
thread "THREAD_BY_OPCODEXE"
0662: printstring "www.youtube.com/OpcodeXe"
0662: printstring ""
if
31@ = SAMP.Base()
jf @THREAD_BY_OPCODEXE_72
0A93: end_custom_thread
:THREAD_BY_OPCODEXE_72
wait 400
SAMP.Available
jf @THREAD_BY_OPCODEXE_72
:THREAD_BY_OPCODEXE_86
018C: play_sound 1052 at 0.0 0.0 0.0
wait 500
:THREAD_BY_OPCODEXE_111
wait 0
if
0ADC: test_cheat "GUN"
jf @THREAD_BY_OPCODEXE_111
018C: play_sound 1052 at 0.0 0.0 0.0
wait 500
:THREAD_BY_OPCODEXE_158
wait 0
if
8ADC: not test_cheat "GUN"
jf @THREAD_BY_OPCODEXE_86
if and
key_down 48
02D8: actor $PLAYER_ACTOR current_weapon == 22
jf @THREAD_BY_OPCODEXE_292
say "/me Takes out a Colt45 from his pants flipping the safety OFF"
say "/do **Click Clack**"
:THREAD_BY_OPCODEXE_292
if and
key_down 48
02D8: actor $PLAYER_ACTOR current_weapon == 23
jf @THREAD_BY_OPCODEXE_410
say "/me Takes out a Silenced 9mm from his pants flipping the safety OFF"
say "/do **Click Clack**"
:THREAD_BY_OPCODEXE_410
if and
key_down 48
02D8: actor $PLAYER_ACTOR current_weapon == 24
jf @THREAD_BY_OPCODEXE_522
say "/me Takes out a Deagle from his pants flipping the safety OFF"
say "/do **Click Clack**"
:THREAD_BY_OPCODEXE_522
if and
key_down 48
02D8: actor $PLAYER_ACTOR current_weapon == 25
jf @THREAD_BY_OPCODEXE_636
say "/me Takes out a Shotgun from his jacket flipping the safety OFF"
say "/do **Click Clack**"
:THREAD_BY_OPCODEXE_636
if and
key_down 48
02D8: actor $PLAYER_ACTOR current_weapon == 26
jf @THREAD_BY_OPCODEXE_779
say "/me Draws out a Sawn of Shotgun from his weapon holster on his waist flipping the safety OFF"
say "/do **Click Clack**"
:THREAD_BY_OPCODEXE_779
if and
key_down 48
02D8: actor $PLAYER_ACTOR current_weapon == 27
jf @THREAD_BY_OPCODEXE_908
say "/me Slings a combat shotgun of his back weapon holster flipping the safety OFF"
say "/do **Click Clack**"
:THREAD_BY_OPCODEXE_908
if and
key_down 48
02D8: actor $PLAYER_ACTOR current_weapon == 29
jf @THREAD_BY_OPCODEXE_1019
say "/me Takes out an MP5 from his jacket flipping the safety OFF"
say "/do **Click Clack**"
:THREAD_BY_OPCODEXE_1019
if and
key_down 48
02D8: actor $PLAYER_ACTOR current_weapon == 30
jf @THREAD_BY_OPCODEXE_1132
say "/me Slings an Ak47 out from his jacket flipping the safety OFF"
say "/do **Click Clack**"
:THREAD_BY_OPCODEXE_1132
if and
key_down 48
02D8: actor $PLAYER_ACTOR current_weapon == 31
jf @THREAD_BY_OPCODEXE_1265
say "/me Slings out an M4 from his 2nd Back weapon holster slot flipping the safety OFF"
say "/do **Click Clack**"
:THREAD_BY_OPCODEXE_1265
if and
key_down 48
02D8: actor $PLAYER_ACTOR current_weapon == 33
jf @THREAD_BY_OPCODEXE_1392
say "/me Slings out a country rif andle from his backpack flipping the safety OFF"
say "/do **Click Clack**"
:THREAD_BY_OPCODEXE_1392
if and
key_down 48
02D8: actor $PLAYER_ACTOR current_weapon == 34
jf @THREAD_BY_OPCODEXE_1514
say "/me Takes out a sniper rif andle from his suitcase flips the safety OFF"
say "/do **Click Clack**"
:THREAD_BY_OPCODEXE_1514
if and
key_down 48
02D8: actor $PLAYER_ACTOR current_weapon == 41
jf @THREAD_BY_OPCODEXE_1621
say "/me Takes out a spraycan from a pocket inside his jacket"
say "/do **Shake Shake**"
:THREAD_BY_OPCODEXE_1621
if and
key_down 48
02D8: actor $PLAYER_ACTOR current_weapon == 43
jf @THREAD_BY_OPCODEXE_1728
say "/me Picks up a camera hanging from a neck holster turning it on"
say "/do **Beep**"
:THREAD_BY_OPCODEXE_1728
if and
key_down 48
02D8: actor $PLAYER_ACTOR current_weapon == 42
jf @THREAD_BY_OPCODEXE_1852
say "/me Takes a fire extinguisher from his backpack taking the Safety Pin OUT"
say "/do **Click Clack**"
:THREAD_BY_OPCODEXE_1852
if and
key_down 48
02D8: actor $PLAYER_ACTOR current_weapon == 46
jf @THREAD_BY_OPCODEXE_1985
say "/me Puts a parachute on his back ready to deploy when he is falling"
say "/do **Zip sounds as tieing it on**"
:THREAD_BY_OPCODEXE_1985
wait 1337
goto @THREAD_BY_OPCODEXE_158