Ulysses

General => Off-Topic => Topic started by: sambr on July 27, 2007, 09:39:26 AM

Title: How can i make only certain weapons be given to each group in ulx?
Post by: sambr on July 27, 2007, 09:39:26 AM
Do you know?
Title: Re: How can i make only certain weapons be given to each group in ulx?
Post by: Chironex 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?
Title: Re: How can i make only certain weapons be given to each group in ulx?
Post by: Megiddo 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.
/me jabs spbogie