Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- -- Determine if we already have equipment
- local owned_ids = {}
- for _, wep in ipairs(ply:GetWeapons()) do
- if not IsValid(wep) then
- ErrorNoHalt(wep)
- ErrorNoHalt("WEAPON NOT VALID")
- if not wep:IsEquipment() then
- ErrorNoHalt("NO EQUIP")
- if IsValid(wep) and not wep:IsEquipment() then
- table.insert(owned_ids, wep:GetClass())
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement