tsiki Posted November 27, 2011 Share Posted November 27, 2011 Hello can someone tell me how to make teleports but when i press a key not when i go to the marker? thanks a lot Link to comment
0 12p Posted November 27, 2011 Share Posted November 27, 2011 Yea, sure: "onClientKey"/bindKey setElementPosition The only way to do this is via scripting in Lua. Fortunately, the script you want is very easy. Just, try to do it, PLEASE. If you at least made some code lines and it's not working, we will help you to develope it and make you understand it. Link to comment
0 tsiki Posted November 30, 2011 Author Share Posted November 30, 2011 Thank you very much i appreciate that Link to comment
0 tsiki Posted December 1, 2011 Author Share Posted December 1, 2011 actually can you write the full script with some example coordinates or whatever? Link to comment
0 12p Posted December 1, 2011 Share Posted December 1, 2011 You could retrieve coordinates by using Admin Panel. The script would work this way... function warpPlayer ( player ) setElementPosition ( ... ) --Click the name of this function end bindKey ( "somekey", "somestate", warpPlayer ) Link to comment
0 Castillo Posted December 1, 2011 Share Posted December 1, 2011 Your best chance is editing the resource "interiors", it's really simple to achieve this with some experience. Link to comment
Question
tsiki
Hello can someone tell me how to make teleports but when i press a key not when i go to the marker?
thanks a lot
Link to comment
5 answers to this question
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