Get Weapon List from Arsenal
Hi everyone,
I'm working on a mission where i want the Player to be able to purchase weapons. I don't want to add each weapons classname manually, so i added a script to search the config. This works well despite one Problem: i always get all variants with scopes equiped and so on. I'm filtering for scopes ==2 and wether the entry inherits from RifleCore. The Arsenal list is exactly what i want. Can anybody help meine find another Filter to accomplish this?
Posted May 23, 2017, 10:47 AM UTC
I think I get what you mean, and im having a similar issue with vehicles. For example, if I want a list of every vehicle, ill get
Kart
Kart [Vrana]
Kart [Other thing]
etc.
Whereas I only want just "Kart"