Advertisement
Guest User

Untitled

a guest
Sep 3rd, 2015
85
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.31 KB | None | 0 0
  1. local allShops = Entities:FindAllByClassnameWithin("trigger_shop", hero:GetAbsOrigin(), 100)
  2. local inSideShop = false
  3. for _, shop in pairs( allShops ) do
  4. if (string.find(shop:GetName(), "_SHARD_SHOP")) then
  5. print(shop:GetName())
  6. inSideShop = true
  7. end
  8. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement