September 28, 20214 yr Author Add a simple command handler to allow players to create their own weapon switching bindings to make Q/E and scrolling through the weapon list a thing of the past.When I tried out playing as a police officer, I noticed that it's pretty painful to switch to a specific weapon unlike in other games where you can create your own keyboard bindings.The little code snippet below makes it possible.Lua implementation codeaddCommandHandler("weaponslot", function (_, slot) slot = tonumber(slot) if slot ~= nil and slot >= 0 and slot <= 12 then setPedWeaponSlot(localPlayer, slot) end end)Player binding examplesThese bindings would bind meele to 1, pistol to 2 and rifle to 3.bind 1 weaponslot 1bind 2 weaponslot 2bind 3 weaponslot 5You can look up the weapon slots here: setPedWeaponSlot
September 28, 20214 yr While not exactly the same, you can easily switch between weapons using the /switchweapon keybind but admittedly your method seems less of a pain to use.Edit: that command was removed. I've updated the commands thread to reflect this
October 9, 20222 yr This is now done as per https://saesrpg.uk/topic/33845/introducing-saes-1-6-part-2?