Garry's Mod Wiki

Player:GodDisable

  Player:GodDisable()

Description

Disables god mode on the player. Removes the FL_GODMODE flag from the player.

Example

Disables god mode on all players.

for _, ply in ipairs( player.GetAll() ) do ply:GodDisable() end