Ulysses

Ulysses Stuff => General Chat & Help and Support => Topic started by: eagle9er9er on June 30, 2013, 09:28:52 PM

Title: Question about Godmode.
Post by: eagle9er9er on June 30, 2013, 09:28:52 PM
Okay, I need help being pointed in the right direction, if this is possible.

I would like people on my server to be able to give themselves godmode, but at the expense that they cannot deal damage while in godmode. Is there anything like this that exists? If so, where can I find it.
Title: Re: Question about Godmode.
Post by: Megiddo on July 01, 2013, 10:38:15 AM
This would be a great project to get your feet wet with GM-Lua. It's a fairly straightforward mod.
Title: Re: Question about Godmode.
Post by: JamminR on July 01, 2013, 01:54:05 PM
In other news, no, nothing currently exists.
Logic for this would be as follows (again, this is logic, NOT GM-lua or ULib or even Lua)

On player damage
if damager is godmode (or, is ulx godmode) then return
end