Ulysses Stuff > Releases
URM - User Restrictions Module for ULX
eriikok:
--- Quote from: The Asian Aimbot on February 12, 2017, 08:16:03 PM ---It's me again! :D 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! :D
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)
--- End quote ---
Try clearing that usergroups loadout and re-add it. If that does not work, take a backup of your data/urm folder and delete it, and add your loadout manually and see if it works.
The Asian Aimbot:
I'll try that now. Thanks!
Edit: it worked!
Navigation
[0] Message Index
[*] Previous page
Go to full version