Ulysses

Ulysses Stuff => General Chat & Help and Support => Topic started by: ULXGmodFan on December 07, 2013, 01:30:35 PM

Title: How to enable admin gun damage
Post by: ULXGmodFan on December 07, 2013, 01:30:35 PM
Hi,

I run ulx with some plugins such as ulib and my server has godmode since it is a building server.

However: admins can only use guns (for administrating and authority) but they can't damage players. Even when godmode is revoked from them.

Is there any way to have people protected against fall damage or heavy props on their heads, but do make them able to get hurt by guns (that only admins have access to)?

Thanks!

P.s. I'm not such a code king, so if I need to edit files please be specific :D
Title: Re: How to enable admin gun damage
Post by: JamminR on December 07, 2013, 04:07:27 PM
Give the standard "user" group "ulx god ^" and "ulx ungod ^" (that allows them to god only themselves), disable server godmode.
Players would have to enable godmode on themselves using ulx god if/when they needed it, but would allow what you're asking, overall.
I'm pretty sure Admin weapons wouldn't hurt them still if they have god enabled, however, admins could ulx ungod <player> before shooting them.
Title: Re: How to enable admin gun damage
Post by: Bite That Apple on December 07, 2013, 06:46:58 PM
He could make a script that checks if player IsAdmin or IsSuperadmin.
Title: Re: How to enable admin gun damage
Post by: JamminR on December 07, 2013, 09:27:48 PM
He could make a script that checks if player IsAdmin or IsSuperadmin.
I'm not such a code king
Title: Re: How to enable admin gun damage
Post by: Megiddo on December 08, 2013, 06:35:26 AM
Without being able to code it yourself, JamminR's solution is the best one.
Title: Re: How to enable admin gun damage
Post by: ULXGmodFan on December 09, 2013, 04:18:50 AM
Thanks, I added !god and !ungod