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 Why looking here, while my post is up there /\
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) San Andreas Utopia RPG (SAUR) Owner & Developer. Education is the most powerful weapon which you can use to change the world.
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 Multi theft auto tools - replace cars and peds, move your map or compile your Lua files online! programista php rzeszów Need free webhosting for your small site? PM me. Need help with portforwarding? PM me. Do not PM me asking for help with scripting. Having problems with port forwarding? Send me pm, I can do whole thing for you using TeamViewer (already helped about 20 people, no worries)!
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? - MTA Script Editor - Ask your scripting questions properly, please. - 50p's public resources - Meta.xml - what is it for? How is it possible LOL
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