Jump to content
  • 0

[SUGGESTION] Binding weapon slots for easy switching


Question

  • 0
Posted

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.


3 answers to this question

Recommended Posts

  • 0
Posted

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


×
×
  • Create New...