joukuna Posted January 19, 2008 Share Posted January 19, 2008 I need position save script. i mean esim.. i drive my car and write chat /savepos it save car position some text file. please send me script Link to comment
danifer Posted January 23, 2008 Share Posted January 23, 2008 Try this: function logPlayerPos( player ) local x,y,z = getElementPosition( player ) outputServerLog ( "Position (x,y,z) => " .. x .. " , " .. y .. " , " .. z) outputChatBox ( "Your Position (x,y,z) => " .. x .. " , " .. y .. " , " .. z, player) end addCommandHandler ( "savepos", logPlayerPos) This will log your current position to \server\mods\deathmatch\logs\server.log Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now