E
E
EC8712020-04-28 22:56:05
Lua
EC871, 2020-04-28 22:56:05

How to check if a player is a god?

How to check if a player is a god (whether god mod is enabled)

LocalPlayer():HasGodMode()

does not work (

Answer the question

In order to leave comments, you need to log in

1 answer(s)
D
dollar, 2020-07-30
@dollar

Try like this :

function GM:InitPostEntity()
  print( LocalPlayer():HasGodMode() )
end

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question