MIKI785 Posted December 3, 2011 Share 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. Link to comment
Castillo Posted December 3, 2011 Share Posted December 3, 2011 https://wiki.multitheftauto.com/wiki/RedirectPlayer Link to comment
MIKI785 Posted December 3, 2011 Author Share Posted December 3, 2011 Doesn't work.. I tried it, but it just send message and that's it, it won't redirect him. Link to comment
MIKI785 Posted December 3, 2011 Author Share 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. Link to comment
Castillo Posted December 3, 2011 Share 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. Link to comment
MIKI785 Posted December 3, 2011 Author Share Posted December 3, 2011 i tried source also.. the same. It's not full, just that command. Link to comment
Castillo Posted December 3, 2011 Share Posted December 3, 2011 I said, post the whole code. Link to comment
Slayer Posted December 3, 2011 Share 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) 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