You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: lua/entities/gmod_wire_expression2/core/custom/cl_prop.lua
+2Lines changed: 2 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -40,6 +40,8 @@ E2Helper.Descriptions["propSpawnEffect(n)"] = "Set to 1 to enable prop spawn eff
40
40
E2Helper.Descriptions["propDelete(e:)"] ="Deletes the specified prop."
41
41
E2Helper.Descriptions["propDelete(t:)"] ="Deletes all the props in the given table, returns the amount of props deleted."
42
42
E2Helper.Descriptions["propDelete(r:)"] ="Deletes all the props in the given array, returns the amount of props deleted."
43
+
E2Helper.Descriptions["propMakeBreakable(e:n)"] ="Pass 0 to make it non-breakable, any other value to make it breakable. You can't make breakable props out of natively-unbreakable props."
44
+
E2Helper.Descriptions["propIsBreakable(e:)"] ="Returns 1, if the prop is breakable (including if prop has been previously marked as non-breakable by e:propMakeBreakable(n)), 0 otherwise."
43
45
E2Helper.Descriptions["propFreeze(e:n)"] ="Passing 0 unfreezes the entity, everything else freezes it."
44
46
E2Helper.Descriptions["propNotSolid(e:n)"] ="Passing 0 makes the entity solid, everything else makes it non-solid."
45
47
E2Helper.Descriptions["propGravity(e:n)"] ="Passing 0 makes the entity weightless, everything else makes it weighty."
localwire_expression2_propcore_sents_whitelist=CreateConVar("wire_expression2_propcore_sents_whitelist", 1, FCVAR_ARCHIVE, "If 1 - players can spawn sents only from the default sent list. If 0 - players can spawn sents from both the registered list and the entity tab.", 0, 1)
13
13
localwire_expression2_propcore_sents_enabled=CreateConVar("wire_expression2_propcore_sents_enabled", 1, FCVAR_ARCHIVE, "If 1 - this allows sents to be spawned. (Doesn't affect the sentSpawn whitelist). If 0 - prevents sentSpawn from being used at all.", 0, 1)
14
+
localwire_expression2_propcore_canMakeUnbreakable=CreateConVar("wire_expression2_propcore_canMakeUnbreakable", 1, FCVAR_ARCHIVE, "If 1 - this allows props to be made unbreakable. If 0 - prevents propMakeBreakable from being used at all.", 0, 1)
ifnotwire_expression2_propcore_canMakeUnbreakable:GetBool() thenreturnself:throw("Making unbreakable is disabled by server! (wire_expression2_propcore_canMakeUnbreakable)", nil) end
0 commit comments