Called when a player attemps to pick up spike strips.
Used in: VCMod Main addon.
Server GM:VC_canPickupSpikeStrip(Entity ply, Entity ent)
1. Entity ply; Player
Player who is doing it.
2. Entity ent; Entity
Spike strip that is about to be picked up.
1. Boolean If it should allow player to pick it up or not.
hook.Add("VC_canPickupSpikeStrip", "VC_canPickupSpikeStrip", function(ply, ent) print("Player :"..ply:Nick().." is attempting to pick up spike strips at.") local can = false return can end)