Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function doCreatureSayWithRadius(cid, text, type, radiusx, radiusy, position)
- if not position then
- position = Creature(cid):getPosition()
- end
- local spectators, spectator = Game.getSpectators(position, false, true, radiusx, radiusx, radiusy, radiusy)
- for i = 1, #spectators do
- spectator = spectators[i]
- spectator:say(text, type, false, spectator, position)
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement