Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local allShops = Entities:FindAllByClassnameWithin("trigger_shop", hero:GetAbsOrigin(), 100)
- local inSideShop = false
- for _, shop in pairs( allShops ) do
- if (string.find(shop:GetName(), "_SHARD_SHOP")) then
- print(shop:GetName())
- inSideShop = true
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement