Author Topic: How to Spawn Weapons For Certain Ranks? Help  (Read 3360 times)

0 Members and 1 Guest are viewing this topic.

Offline [Med-81] Ryan

  • Newbie
  • *
  • Posts: 3
  • Karma: 0
How to Spawn Weapons For Certain Ranks? Help
« on: March 19, 2018, 07:08:46 PM »
So I make a rank in ulx for Owner and Game-Master but only superadmin can do it I don't know how to make it so certain ranks can spawn things. Please Help.

Offline JamminR

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 8096
  • Karma: 390
  • Sertafide Ulysses Jenius
    • Team Ulysses [ULib/ULX, other fine releases]
Re: How to Spawn Weapons For Certain Ranks? Help
« Reply #1 on: March 19, 2018, 07:44:33 PM »
ULX doesn't control what weapons people spawn with.
There are plugins out there that were made to do that, but some here in our releases forum have not been updated in a long time.
The only way ULX might help would be to have your groups inherit superadmin.
"Though a program be but three lines long, someday it will have to be maintained." -- The Tao of Programming

Offline [Med-81] Ryan

  • Newbie
  • *
  • Posts: 3
  • Karma: 0
Re: How to Spawn Weapons For Certain Ranks? Help
« Reply #2 on: March 20, 2018, 05:50:58 AM »
 i did that I inherited Owner to superadmin and i could spawn objects but couldnt spawn weapons idk how to spawn weapons says i cant

Offline BlueNova

  • Full Member
  • ***
  • Posts: 113
  • Karma: 13
  • The most powerful force in the universe.
Re: How to Spawn Weapons For Certain Ranks? Help
« Reply #3 on: March 20, 2018, 07:19:06 AM »
You may have another addon installed or some other file that looks for IsUserGroup("superadmin") and only lets them do certain actions. This could include weapon spawning.

Offline [Med-81] Ryan

  • Newbie
  • *
  • Posts: 3
  • Karma: 0
Re: How to Spawn Weapons For Certain Ranks? Help
« Reply #4 on: March 20, 2018, 07:22:51 AM »
Well idk how to find that

Offline BlueNova

  • Full Member
  • ***
  • Posts: 113
  • Karma: 13
  • The most powerful force in the universe.
Re: How to Spawn Weapons For Certain Ranks? Help
« Reply #5 on: March 20, 2018, 10:17:10 AM »
Well any errors you may have would be a place to start.
You could also just remove addons one by one until your issue is fixed.

If all else fails a PlayerSpawnSWEP hook should work.