issaim
New Member
- Joined
- Jul 5, 2010
- Messages
- 101
- Reaction score
- 2
Go to Data/talkaction/scripts:tpall.lua
no Go to Data/talkaction.xml
have fun Rep me ++ ty
function onSay(cid, words, param, channel)
local temple = { x = 1000, y = 1000, z = 7 }
for _, cid in ipairs(getPlayersOnline()) do
doTeleportThing(cid, temple)
doPlayerSendTextMessage(cid, MESSAGE_INFO_DESCR, "All players have been teleported to the temple.")
doSendMagicEffect(getCreaturePosition(cid), CONST_ME_GIFT_WRAPS)
end
return TRUE
end
no Go to Data/talkaction.xml
<talkaction log="yes" words="/tpall" access="script" event="script" value="tpall.lua"/>
have fun Rep me ++ ty