Garry's Mod Wiki

ENTITY:CanEditVariables

  boolean ENTITY:CanEditVariables( Player ply )

Description

Called by the Sandbox gamemode from the default implementation of GM:CanEditVariable.

Arguments

1 Player ply
The player is trying to edit a variable on this entity.

Returns

1 boolean
true to allow the edit, false to disallow.