Garry's Mod Wiki

Revision Difference

Player:HasGodMode#512691

<function name="HasGodMode" parent="Player" type="classfunc">⤶ <description>⤶ Returns whether the player has god mode or not, contolled by <page>Player:GodEnable</page> and <page>Player:GodDisable</page>.⤶ ⤶ <bug issue="2038">This is not synced between the client and server. This will cause the client to always return false even in godmode.</bug>⤶ </description>⤶ <realm>Shared</realm>⤶ <file line="283-L291">lua/includes/extensions/player.lua</file>⤶ <rets>⤶ <ret name="" type="boolean">Whether the player has god mode or not.</ret>⤶ </rets>⤶ </function>⤶ ⤶