Called before a player places spike strips.
Used in: VCMod Main addon.
Server GM:VC_canPlaceSpikeStrip(Entity ply, Vector pos)
1. Entity ply; Player
Player who is doing it.
2. Vector pos; Position
Position where the spikes would be placed at.
1. Boolean If it should allow player to place it or not.
hook.Add("VC_canPlaceSpikeStrip", "VC_canPlaceSpikeStrip", function(ply, pos) print("Player :"..ply:Nick().." is attempting to spawn spike strips at: "..pos..".") local can = false return can end)