Okay, for my card you need to do this so that the player could not switch over the slots.
The first option that I came up with is to force the script to press the "secondary weapon slot" button once every 100-500 meliseconds so that it selects secondary weapon slot slot.
The second option is simply to prohibit the weapon slot buttons except an secondary weapon slot
Thanks in advance for any help.
Dear forum users! In compliance with the new European GDPR regulations, we'd just like to inform you that if you have an account, your email address is stored in our database. We do not share your information with third parties, and your email address and password are encrypted for security reasons.
New to the forum? Say hello in this topic! Also make sure to read the rules.
New to the forum? Say hello in this topic! Also make sure to read the rules.
[Need help] Only secondary weapon slot
Forum rules
By using the forum you agree to the following rules.
By using the forum you agree to the following rules.
- JakSparro98
- Superfighter
- Posts: 530
- Joined: Fri Jul 15, 2016 7:56 pm
- Started SFD: PreAlpha 1.0.5
- Location: Rome, Italy
- Gender:
- Age: 26
Blocking or manipulating user input is NOT something the ScriptAPI can do, what we can do instead is to remove any equipped weapon that doesn't belong to the secondary slot.Hamurlik wrote: ↑Wed Mar 06, 2019 1:30 pmOkay, for my card you need to do this so that the player could not switch over the slots.
The first option that I came up with is to force the script to press the "secondary weapon slot" button once every 100-500 meliseconds so that it selects secondary weapon slot slot.
The second option is simply to prohibit the weapon slot buttons except an secondary weapon slot
Thanks in advance for any help.
0 x