• 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!

Lua Spawn at X Position onlogin

x1nject

New Member
Joined
Apr 24, 2010
Messages
118
Reaction score
0
Hi, i need EVERY SINGLE Player to login in X Spawn everytime they login, So like, OT resets example, they login in example 50/50/7

Im using MySQL latest TFS crying damson
 
on data/creaturescripts/scripts/login.lua

add

PHP:
			local poss = = {x = 6, y = 4, z = 7}
			doTeleportThing(cid, poss, true)


before

PHP:
   return true
end
 
Thanks, Is it possible to insert a SQL entry to make everybody's position change? Because i changed certain maps and i need to change everybody position to X position, is it possible?
 
Back
Top