It's me again!
SORRY FOR YET ANOTHER SUPER-BUMP
Before, I made a rank and used the addon to give it a custom loadout. Now it's shooting out this error at me and some of the weapons don't spawn with ammo.
[ERROR] addons/urm-master/lua/ulx/modules/loadouts.lua:81: attempt to call method 'GetPrimaryAmmoType' (a nil value)
1. fn - addons/urm-master/lua/ulx/modules/loadouts.lua:81
2. Call - addons/ulib/lua/ulib/shared/hook.lua:110
3. PlayerSpawn - gamemodes/base/gamemode/player.lua:274
4. unknown - gamemodes/sandbox/gamemode/init.lua:41
5. Spawn - [C]:-1
6. unknown - gamemodes/base/gamemode/player.lua:115
Any help would be greatly appreciated!
I used the same loadouts when I removed all the addons from the server (the weps missing ammo are M9K) and switched back. I think this may be causing the issue, but my other ranks don't have the issue? (Tested it with the same guns but on different ranks)