Working on Portals, related questions
#34
Well, let's stick to that then.
And once again, what about fantom rightclick? Should all plugin writers (probably there's one more besides me, but he's hiding in jungles!) fix that inside lua too, or should you make changes in server code?
Here's my new pain:
http://rghost.ru/40231747/image.png
That's the result of simple lines like:
Code:
Player:SendMessage("You're teleported from ("..round(Player:GetPosX())..","..round(Player:GetPosY())..","..round(Player:GetPosZ())..") to ("..round(PortalsData.warps["".._zone].point.x)..","..round(PortalsData.warps["".._zone].point.y)..","..round(PortalsData.warps["".._zone].point.z)..")")
Player:MoveTo(PortalsData.warps["".._zone].point)

I assume MoveTo() is not working (yes, .point in Vector3d class)
Reply
Thanks given by:


Messages In This Thread
RE: Working on Portals, related questions - by Taugeshtu - 09-07-2012, 08:46 PM



Users browsing this thread: 2 Guest(s)