ULX

Author Topic: How can i make only certain weapons be given to each group in ulx?  (Read 2374 times)

0 Members and 1 Guest are viewing this topic.

sambr

  • Guest
Do you know?

Offline Chironex

  • Full Member
  • ***
  • Posts: 197
  • Karma: 11
  • Formerly known as Kyzer
Re: How can i make only certain weapons be given to each group in ulx?
« Reply #1 on: July 28, 2007, 06:09:00 PM »
I have an idea on how to do it, but i'm not sure if it work. Anyway:

Look into gamemodes/sandbox/gamemode/init.lua, just to see how to give weapons and ammos. Then in /garrysmod/addons/ulx/lua/ulx/utils.lua, make a function that give certain weapons to a certain team, then add a hook to PlayerSpawn.

It should be good to have this option in uteam or something. I could try to add that for uteam, but i'm tired now, 03:08. Or maybe there is already a way to do that?

Offline Megiddo

  • Ulysses Team Member
  • Hero Member
  • *****
  • Posts: 6214
  • Karma: 394
  • Project Lead
Re: How can i make only certain weapons be given to each group in ulx?
« Reply #2 on: July 29, 2007, 12:58:48 PM »
It should be good to have this option in uteam or something. I could try to add that for uteam, but i'm tired now, 03:08. Or maybe there is already a way to do that?

Not right now no.
* Megiddo jabs spbogie
Experiencing God's grace one day at a time.