CLEO Help How to change this activation button?

CLEO related
Status
Not open for further replies.

Haxzorlmao

Active member
Joined
Aug 24, 2014
Messages
56
Reaction score
3
{$CLEO}
0662: "TH3RM4L | www.ugbase.eu"

while true
wait 0
    if
        0ADC: "F"
    then
        if
            02D8:  actor $PLAYER_ACTOR current_weapon == 24
        then
            if
                0491:  actor $PLAYER_ACTOR has_weapon 25
            then
                01B9: set_actor $PLAYER_ACTOR armed_weapon_to 25
                wait 75
                01B9: set_actor $PLAYER_ACTOR armed_weapon_to 24
            else
                if
                    0491:  actor $PLAYER_ACTOR has_weapon 27
                then
                    01B9: set_actor $PLAYER_ACTOR armed_weapon_to 27
                    wait 75
                    01B9: set_actor $PLAYER_ACTOR armed_weapon_to 24
                else
                    if
                        0491:  actor $PLAYER_ACTOR has_weapon 30
                    then
                        01B9: set_actor $PLAYER_ACTOR armed_weapon_to 30
                        wait 75
                        01B9: set_actor $PLAYER_ACTOR armed_weapon_to 24
                    else
                        if
                            0491:  actor $PLAYER_ACTOR has_weapon 31
                        then
                            01B9: set_actor $PLAYER_ACTOR armed_weapon_to 31
                            wait 75
                            01B9: set_actor $PLAYER_ACTOR armed_weapon_to 24
                        else
                            if
                                0491:  actor $PLAYER_ACTOR has_weapon 33
                            then
                                01B9: set_actor $PLAYER_ACTOR armed_weapon_to 33
                                wait 75
                                01B9: set_actor $PLAYER_ACTOR armed_weapon_to 24
                            else
                                if
                                    0491:  actor $PLAYER_ACTOR has_weapon 34
                                then
                                    01B9: set_actor $PLAYER_ACTOR armed_weapon_to 34
                                    wait 75
                                    01B9: set_actor $PLAYER_ACTOR armed_weapon_to 24
                                else
                                    if
                                        0491:  actor $PLAYER_ACTOR has_weapon 35
                                    then
                                        01B9: set_actor $PLAYER_ACTOR armed_weapon_to 35
                                        wait 75
                                        01B9: set_actor $PLAYER_ACTOR armed_weapon_to 24
                                    else
                                        if
                                            0491:  actor $PLAYER_ACTOR has_weapon 36
                                        then
                                            01B9: set_actor $PLAYER_ACTOR armed_weapon_to 36
                                            wait 75
                                            01B9: set_actor $PLAYER_ACTOR armed_weapon_to 24
                                        else
                                            if
                                                0491:  actor $PLAYER_ACTOR has_weapon 37
                                            then
                                                01B9: set_actor $PLAYER_ACTOR armed_weapon_to 37
                                                wait 75
                                                01B9: set_actor $PLAYER_ACTOR armed_weapon_to 24
                                            else
                                                if
                                                    0491:  actor $PLAYER_ACTOR has_weapon 38
                                                then
                                                    01B9: set_actor $PLAYER_ACTOR armed_weapon_to 38
                                                    wait 75
                                                    01B9: set_actor $PLAYER_ACTOR armed_weapon_to 24
                                                end
                                            end
                                        end
                                    end
                                end
                            end
                        end
                    end
                end
            end
        end
    end
end

I want the button to be xbutton2 if that's possible, it's the button at the side of a mouse.
http://www.codeproject.com/KB/wtl/WTLAppButtons/mousexbtn.jpg
 
Status
Not open for further replies.
Top