[SUGGESTION] Binding weapon slots for easy switching

  • Could we add a command or something that we can use to switch our weapon slot instead of using the mousewheel?

    addEventHandler("onClientResourceStart",getResourceRootElement(getThisResource()),
        function()
    		function changeWeaponSlot(commandName, slotNumber)
    			if (tonumber(slotNumber) >= 0 and tonumber(slotNumber) <= 12) then
    				setPedWeaponSlot(localPlayer,slotNumber);
    				outputChatBox("slot: "..slotNumber);
    			else
    				outputChatBox("0-12 ya idiot...");
    			end
    		end
    		addCommandHandler("slot", changeWeaponSlot);
        end
    );
    

    This would be great, then I could bind all of these to my numbers, and switch super easy.

  • Switching is something where you have to practise for. Not adding some random binds, which makes the gameplay horribe if everyone can switch easy.

  • @Siper_ said in [SUGGESTION] Binding weapon slots for easy switching:

    Switching is something where you have to practise for. Not adding some random binds, which makes the gameplay horribe if everyone can switch easy.

    :comedian:

  • @Siper_ said in [SUGGESTION] Binding weapon slots for easy switching:

    Switching is something where you have to practise for. Not adding some random binds, which makes the gameplay horribe if everyone can switch easy.

    Even with practice you make mistakes with it. More options are nice to have sometimes.