Code: Select all
local Cable = tonumber(this.GetNearbyObjects("ElectricalCable", 1))
local Alert = this.GetNearbyObjects("AlertElectrical", 1)
Alert - Later on i'm trying to call it to delete it, so far no problems
Cable - Later on calling it as a number just so see if there are a number of cables right under this object.