CLEO Help Weapon hotkeys

CLEO related
Status
Not open for further replies.

Allonzzyy

Member
Joined
Jun 26, 2015
Messages
11
Reaction score
0
I've searched for weapon hotkeys and I found nothing. Is there any way to bind weapons to keys like;
1 for shotguns
2 for assault rifles
3 for pistols etc etc

Scrolling is so slow and not accurate, do you know any mod to make this happen?
 

Parazitas

God
Staff member
Joined
Jan 2, 2017
Messages
3,315
Solutions
7
Reaction score
937
Location
Lithuania
Possible
PHP:
{$CLEO .cs}

0000: NOP 

wait 10000

while true
wait 0

if
0ADC:   test_cheat "1"
then
    01B9: set_actor $PLAYER_ACTOR armed_weapon_to 25 // Shotguns
end

if
0ADC:   test_cheat "2"
then
    01B9: set_actor $PLAYER_ACTOR armed_weapon_toc 33 // Assault Rifles
end

if
0ADC:   test_cheat "3"
then
    01B9: set_actor $PLAYER_ACTOR armed_weapon_to 24 // Desert Eagle
end


end
 
Last edited:
Status
Not open for further replies.
Top