Garry's Mod Wiki

Player:HasGodMode

  boolean Player:HasGodMode()

Description

Returns whether the player has god mode or not, contolled by Player:GodEnable and Player:GodDisable.

Returns

1 boolean
Whether the player has god mode or not.