roriscrave
Advanced OT User
- Joined
- Dec 7, 2011
- Messages
- 1,188
- Solutions
- 34
- Reaction score
- 200
Hi guy how are u?
This script i use in one quest, all players in X area, kill a boss and all players who are in this X area get teleport do temple.
If the players Josh, Makui and Hujoh kill the BOSS, i need to implement in the script this msg:
I need to introduce a broadcast saying "The players: Josh, Makui and Hujoh has compelted the quest"
I tried to use str buy i dont get sucess
This script i use in one quest, all players in X area, kill a boss and all players who are in this X area get teleport do temple.
Code:
if count == 0 then -- when monster dies
for x = fromPos.x, toPos.x do
for y = fromPos.y,toPos.y do
` local m = getTopCreature({x=x, y=y, z=fromPos.z}).uid
if m~= 0 and isPlayer(m) then
doTeleportThing(m,{x=25100, y=15100, z=7})
doPlayerSendTextMessage(m,22,"You finished the quest!")
end
end
end
end
I need to introduce a broadcast saying "The players: Josh, Makui and Hujoh has compelted the quest"
I tried to use str buy i dont get sucess