GM:CanEditVariable
Description
Called when a variable is about to be edited on an Entity (called by Edit Properties...
menu), to determine if the edit should be permitted.
See Editable entities for more details about the system.
By default, Sandbox will also call ENTITY:CanEditVariables if no hook returns a value.
Arguments
Returns
Example
From base/gamemode/variable_edit.lua
.
Makes Edit Properties...
right click property admin only.