Advertisement
Fwaky

Untitled

Mar 29th, 2018
87
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.38 KB | None | 0 0
  1. function doCreatureSayWithRadius(cid, text, type, radiusx, radiusy, position)
  2. if not position then
  3. position = Creature(cid):getPosition()
  4. end
  5.  
  6. local spectators, spectator = Game.getSpectators(position, false, true, radiusx, radiusx, radiusy, radiusy)
  7. for i = 1, #spectators do
  8. spectator = spectators[i]
  9. spectator:say(text, type, false, spectator, position)
  10. end
  11. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement