Garry's Mod Wiki

Revision Difference

Player:GodDisable#560256

<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> <file line="232-L240">lua/includes/extensions/player.lua</file> </function> <example> <description>Disables god mode on all players.</description> <code> for _, ply in ipairs( player.GetAll() ) do ply:GodDisable() end </code> </example>