Garry's Mod Wiki

Revision Difference

Player:GodDisable#527013

<function name="GodDisable" parent="Player" type="classfunc"> <description>Disables god mode on the player.</description> <realm>Server</realm> <file line="261-L269">lua/includes/extensions/player.lua</file> </function> <example> <description>Disables god mode on all players.</description> <code> for _, v in pairs(player.GetAll()) do for i, v in ipairs(player.GetAll()) do v:GodDisable() end </code> </example>