Advertisement
Guest User

Untitled

a guest
May 28th, 2017
47
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.50 KB | None | 0 0
  1. //////////////////////Server////////////////////////////
  2. function GameConnection::Serverteleport(%this,%ip,%ps,%client)
  3. {
  4.     commandtoclient(%client,'serverteleport',%ip,%ps);
  5.  
  6. }
  7. registerOutputEvent("GameConnection","Serverteleport","string 64 100 \tstring 64 100",1);
  8. ////////////////////////Client///////////////////////////////
  9. function clientCmdserverteleport(%ip,%ps)
  10. {
  11.    MJ_txtIP.setvalue(%ip);
  12.    MJ_txtJoinPass.setvalue(%ps);
  13.    schedule(1000,0,disconnect);
  14.    schedule(1500,0,MJ_Connect);
  15. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement