kevin11 Posted June 11, 2010 Posted June 11, 2010 hey is it possible to go from a race server into a stealth or play with a command example im at a stealth server and i type /race and i go to a race server
DutchCaffeine Posted June 11, 2010 Posted June 11, 2010 That is posible: https://wiki.multitheftauto.com/wiki/RedirectPlayer
kevin11 Posted June 11, 2010 Author Posted June 11, 2010 this is what i thought but there is a error at line 4 function joinserverHandlerFunction (playerSource, commandName, serverIP, serverPort, serverPassword) if serverIP and serverPort then if serverPassword then --if also a password was specified redirectPlayer (playerSource, 77.160.183.15, tonumber(20001), serverPassword) else -- else if no password was specified redirectPlayer (playerSource, 77.160.183.15, tonumber(20001)) end else outputChatBox ("Error! Correct Command: /stealth", playerSource) end end addCommandHandler ("stealth", joinserverHandlerFunction)
Castillo Posted June 11, 2010 Posted June 11, 2010 Hmmm, to redirect to other server you can use my code function joinserverHandlerFunction (playerSource, commandName, serverIP, serverPort) redirectPlayer (playerSource, "77.160.183.15", tonumber(20001)) end addCommandHandler ("joinserver", joinserverHandlerFunction)
dzek (varez) Posted June 11, 2010 Posted June 11, 2010 kevin11, you still dont have the slightest idea about scripting. wtf is that? tonumber(22011) or specyfing ip argument without quotes.. omg
kevin11 Posted June 12, 2010 Author Posted June 12, 2010 ...................... its my port........................
50p Posted June 12, 2010 Posted June 12, 2010 ...................... its my port........................ What's the point of converting number to number then?
kevin11 Posted June 12, 2010 Author Posted June 12, 2010 ...................... its my port........................ What's the point of converting number to number then? lol dunno i just thought it might work
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