Connect from one server to another
#1

Hi,

i am currently working on two servers and the owner of this two servers wants to make a CMD, so that you can switch the server ingame. But i never heard that it is possible ^^

So i dont think that in PAWN its possible, but maybe in C++ as a plugin?

Please help, thanks
Reply
#2

In pawn it is not possible, though you can make it in C++. You can make the application gta_sa.exe crash, and then connect to the new server..

Don't know if that can be done in C++ but I think it should be possible. I have no idea how.
Reply
#3

I think he means so you can change servers with out going out of the game it-self, so like im playing a stunt server I type /rp and it comes up with the default "connecting to RP" "Connectio established".

Would be cool, but I only think the devs with the source could do it, let's suggest that 0.3 should have a function like so =)
Reply
#4

hehe k, but maybe its a c++ guru there who knows the secret how to write it ^^
Reply
#5

Well, you basically disconnect the player from his/her current server, then open a new connection, with the input from a command, for example '/connect 127.0.0.1:7777'. Not very hard to write in C++. Look around the forums and perhaps SA:MP Plugin SDK.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)