GetPlayerInvincible(PlayerId() help

How can I use this on es_admin2 to run on a client? Purposes: Check if someone is in godmode that will print back if they are or not. Any literature i can read up to educate myself?

Wouldn’t it be as simple as an if statement…

if GetPlayerInvicible(Player) then
    print("It's Jesus!")
end)

However, I am a potato coder.

2 Likes

Im not so great myself which is why I was just wondering lol. But I dont see why that wouldn;t work perhaps… Thanks.

edit: the its jesus thing was a nice touch.

Some menus use different natives for setting godmode, one of the methods cant be checked