Alexandre Makina Posted January 14, 2017 Share Posted January 14, 2017 Is it possible for the same player to use two weapons of the same category, for example Desert and colt 45? Is there a script for this? Link to comment
Captain Cody Posted January 15, 2017 Share Posted January 15, 2017 There's no known scripts but this is possible through a script; infact I'll write one later. Link to comment
CrazyK Posted January 16, 2017 Share Posted January 16, 2017 You may be looking for this resource : https://community.multitheftauto.com/index.php?p=resources&s=details&id=12423 Link to comment
Alexandre Makina Posted January 16, 2017 Author Share Posted January 16, 2017 Interesting resource. It will be useful. But that's not exactly what I need ... In this feature the player has to give a command to pick up the weapons. If in case he acquiring otherwise the weapons do not appear in his standard menu. I need a feature that when the player acquires a weapon, regardless of the shape, it stays with it even if it already has another of the same category and that appears in its menu in a common way, without commands. Link to comment
Gengar Posted January 17, 2017 Share Posted January 17, 2017 It's possible to be scripted and it shouldn't be that complicated at all. Link to comment
Captain Cody Posted January 17, 2017 Share Posted January 17, 2017 4 hours ago, Gengar said: It's possible to be scripted and it shouldn't be that complicated at all. Could possibly just use a table, and add / remove your weapon depending on where in the table you have selected. (Using scroll, and E / Q to select your weapon in that table) 1 Link to comment
Suerte Posted January 30, 2017 Share Posted January 30, 2017 On 16/01/2017 at 22:34, Alexandre Makina said: Interesting resource. It will be useful. But that's not exactly what I need ... In this feature the player has to give a command to pick up the weapons. If in case he acquiring otherwise the weapons do not appear in his standard menu. I need a feature that when the player acquires a weapon, regardless of the shape, it stays with it even if it already has another of the same category and that appears in its menu in a common way, without commands. Thanks for checking out the script! The resource does have an export function (givePlayerWeapon) that you can use in your own script. The generic example is in the resource description. If you want it to affect pickup items, I think you need to get it to work with onClientPickupHit. allweapons is just a quick demonstration & proof of concept for people like you to innovate and improve on it feel free to modify/copy it, good luck! 1 Link to comment
Recommended Posts