PLUGIN.contextmenu
Context Menu handling.
Functions
PropertyFilter(filter, ent)
View source »Determine if a property is allowed to be ran on an given entity. Passing a string or table as the filter will check the entities class against the filter. Passing a function will call the function with the entity as the only argument, and use it's boolean return value. If no filter is passed, then this will return true.
Parameters
-
ent
Entity
Entity to run against.
Returns
-
bool
If the property is allowed.