MIKI785 Posted December 3, 2011 Posted December 3, 2011 What is the function which connect player to another server? hen he type /server2 - it will connect him to some server. I coulnd't find it on the wiki, Link please. Lua Scripter Owner of mshost.cz MTA portal.
Castillo Posted December 3, 2011 Posted December 3, 2011 https://wiki.multitheftauto.com/wiki/RedirectPlayer San Andreas Utopia RPG (SAUR) Owner & Developer. Education is the most powerful weapon which you can use to change the world.
MIKI785 Posted December 3, 2011 Author Posted December 3, 2011 Doesn't work.. I tried it, but it just send message and that's it, it won't redirect him. Lua Scripter Owner of mshost.cz MTA portal.
Castillo Posted December 3, 2011 Posted December 3, 2011 Show us your code. San Andreas Utopia RPG (SAUR) Owner & Developer. Education is the most powerful weapon which you can use to change the world.
MIKI785 Posted December 3, 2011 Author Posted December 3, 2011 I deleted it.. But it was somethnig like: redirectPlayer (playerSource, "mshost.cz", 22005) setTimer(outputChatBox,50,1,getPlayerName (source) .. " #FF0000Has gone to our DD server!",getRootElement(),255,0,0,true) The message was always sent. For "mshost.cz" i also tried 'mshost.cz' and IP adress, lots of formats, but nothing worked. Lua Scripter Owner of mshost.cz MTA portal.
Castillo Posted December 3, 2011 Posted December 3, 2011 There you are using two different variables: playerSource and source, also is that your full script? if so, is really wrong. San Andreas Utopia RPG (SAUR) Owner & Developer. Education is the most powerful weapon which you can use to change the world.
MIKI785 Posted December 3, 2011 Author Posted December 3, 2011 i tried source also.. the same. It's not full, just that command. Lua Scripter Owner of mshost.cz MTA portal.
Castillo Posted December 3, 2011 Posted December 3, 2011 I said, post the whole code. San Andreas Utopia RPG (SAUR) Owner & Developer. Education is the most powerful weapon which you can use to change the world.
Slayer Posted December 3, 2011 Posted December 3, 2011 I used to have a redirect script in my test server. You probably have to allow 'function.redirectPlayer' in the 'Default' group in the ACL. (That's what I had to do)
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