• There is NO official Otland's Discord server and NO official Otland's server list. The Otland's Staff does not manage any Discord server or server list. Moderators or administrator of any Discord server or server lists have NO connection to the Otland's Staff. Do not get scammed!

Solved Teleport all players to my position? I create one works but with error, fix please?

Ghazer

Member
Joined
Mar 13, 2009
Messages
350
Reaction score
6
I create that, works fine but I have error... whats wrong?

Talkaction of course.
Lua:
function onSay(cid, words, param, channel)
  for _, pid in ipairs(getPlayersOnline()) do
     doTeleportThing(pid, getCreaturePosition(cid))
   end
    return true
      end
 
Last edited:
Post error? Also.

Lua:
function onSay(cid, words, param, channel)
     doTeleportThing(getPlayersOnline(), getCreaturePosition(cid))
   end
    return true
      end

try this...
 
This is not recommended way to do, because if there is alot of players on same tile. It cause client crash.
 
Back
Top