Summary
Functions
Filter again.Filter again.Functions
Action(self, ent)
shared gamemodes/cwhl2rp/plugins/emplacementgun/plugin/entities/entities/cw_emplacementgun/shared.lua:119Sends the chosen entity to the server to turn its barricade's world collision off.
Parameters
- self
- ent
Action(self, ent)
shared gamemodes/cwhl2rp/plugins/emplacementgun/plugin/entities/entities/cw_emplacementgun/shared.lua:181Sends the chosen entity to the server to turn its barricade's world collision back on.
Parameters
- self
- ent
Filter(self, ent, ply)
shared gamemodes/cwhl2rp/plugins/emplacementgun/plugin/entities/entities/cw_emplacementgun/shared.lua:94Shows the "Turn world collision off" property on a mounted gun or its barricade while it collides.
Parameters
- self
- ent
- ply
Filter(self, ent, ply)
shared gamemodes/cwhl2rp/plugins/emplacementgun/plugin/entities/entities/cw_emplacementgun/shared.lua:156Shows the "Turn world collision on" property on a mounted gun or its barricade without collisions.
Parameters
- self
- ent
- ply
FindAR3At(clamp)
shared gamemodes/cwhl2rp/plugins/emplacementgun/plugin/entities/entities/cw_emplacementgun/shared.lua:69Returns the emplacement gun mounted on a barricade.
Searches a small box around the mount position on the barricade. Assigns the file's local
FindAR3At, which is passed to init.lua and cl_init.lua through a temporary global.
Parameters
- clamp Entity The barricade prop
Returns
- Entity The mounted
cw_emplacementgun, orfalsewhen there is none
Receive(self, length, player)
shared gamemodes/cwhl2rp/plugins/emplacementgun/plugin/entities/entities/cw_emplacementgun/shared.lua:126Freezes the barricade and moves it to the world collision group, after checking Filter again.
Parameters
- self
- length
- player
Receive(self, length, player)
shared gamemodes/cwhl2rp/plugins/emplacementgun/plugin/entities/entities/cw_emplacementgun/shared.lua:189Unfreezes the barricade and restores its collision group, after checking Filter again.
Parameters
- self
- length
- player