Tymofek
New Member
the room is like annih
XXXXXX
X0000X
XXXXXX
this is a word script so you can get it!
local totalplayers = all the players in the room
local centerplayers = only the players in the center of the room
doTeleportThing(centerplayers, nextroom)
local restoftheplayers = totalplayers - centerplayers
doTeleportThing(restoftheplayers, anotherroom)
thats all!
Ok now the thing is that i got a lot of rooms like this one so i need this script to be NOT using the coorditanes of every SQM, just the "fromx fromy tox toy"
so i can only introduce 8 coordinates by room not 18.
Thx, if you post here is couse you are a LUA pro xD
XXXXXX
X0000X
XXXXXX
this is a word script so you can get it!
local totalplayers = all the players in the room
local centerplayers = only the players in the center of the room
doTeleportThing(centerplayers, nextroom)
local restoftheplayers = totalplayers - centerplayers
doTeleportThing(restoftheplayers, anotherroom)
thats all!
Ok now the thing is that i got a lot of rooms like this one so i need this script to be NOT using the coorditanes of every SQM, just the "fromx fromy tox toy"
so i can only introduce 8 coordinates by room not 18.
Thx, if you post here is couse you are a LUA pro xD