Help Help (need fix)

Silent_zzz

Active member
Joined
Feb 1, 2022
Messages
25
Solutions
1
Reaction score
0
Location
a
can anyone help me for this?
if 02D8: actor $PLAYER_ACTOR current_weapon == 22
then
wait 0
else

02D8: actor $PLAYER_ACTOR current_weapon == 22
end
 

dphome

Well-known member
Joined
Mar 21, 2020
Messages
475
Solutions
9
Reaction score
168
Location
Poland
Hello Kitty
PHP:
{$CLEO}
0000:

WHILE TRUE
WAIT 0
              
IF 0256:   player $PLAYER_CHAR defined
THEN
    IF 02D8:   actor $PLAYER_ACTOR current_weapon == 22
    THEN 
        0AD1: show_formatted_text_highpriority "~g~You have a gun" time 1337
    ELSE
        0AD1: show_formatted_text_highpriority "~r~You don't have a gun" time 1337
    END
END

END
0A93: terminate_this_custom_script
 

Attachments

  • Script.cs
    17.6 KB · Views: 1

Silent_zzz

Active member
Joined
Feb 1, 2022
Messages
25
Solutions
1
Reaction score
0
Location
a
Hello Kitty
PHP:
{$CLEO}
0000:

WHILE TRUE
WAIT 0
              
IF 0256:   player $PLAYER_CHAR defined
THEN
    IF 02D8:   actor $PLAYER_ACTOR current_weapon == 22
    THEN 
        0AD1: show_formatted_text_highpriority "~g~You have a gun" time 1337
    ELSE
        0AD1: show_formatted_text_highpriority "~r~You don't have a gun" time 1337
    END
END

END
0A93: terminate_this_custom_script
Thank you for your support, but I want to current gun 22 when it's not current
 
Top