Help help with adding activation key

elfomg

New member
Joined
Jul 28, 2024
Messages
1
Reaction score
0
how would i add an activation key to this? i am stupid

// This file was decompiled using SASCM.ini published on 2021-01-30
{$CLEO .cs}

wait 0

:NONAME_4
wait 0
Player.Defined(0)
jf @NONAME_4

:NONAME_19
wait 0
if and
not Actor.Driving($PLAYER_ACTOR)
8818: not actor $PLAYER_ACTOR in_air
is_key_pressed 2
jf @NONAME_212
if
is_key_pressed 2
jf @NONAME_212

:NONAME_63
is_key_pressed 2
jf @NONAME_86
wait 150
jump @NONAME_63

:NONAME_86
1@ = 0
if
not 1@ == -1
jf @NONAME_212
0470: 0@ = actor $PLAYER_ACTOR current_weapon

:NONAME_119
wait 0
01B9: set_actor $PLAYER_ACTOR armed_weapon_to 0
wait 50
0470: 1@ = actor $PLAYER_ACTOR current_weapon
if or
1@ == 0
1@ == 1
jf @NONAME_174
jump @NONAME_181

:NONAME_174
jump @NONAME_119

:NONAME_181
01B9: set_actor $PLAYER_ACTOR armed_weapon_to 0@
wait 50
01B9: set_actor $PLAYER_ACTOR armed_weapon_to 0
wait 50
0470: 1@ = actor $PLAYER_ACTOR current_weapon

:NONAME_212
jump @NONAME_19
 

Attachments

  • Triple_switch.cs
    219 bytes · Views: 3
Top