Results 1 to 10 of 11

Thread: Server Redirection

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Assadministrator IzNoGoD's Avatar
    Join Date
    Aug 2012
    Posts
    1,718
    Thanks
    17
    Thanked 1,068 Times in 674 Posts
    We're using the [php ] tag because it looks nicer than the [code ] tags. Just put the code inside your .gsc files in the proper locations.
    "Does not work" is an error report for a bug between keyboard and chair.

    All hail Artie Effem

  2. #2
    Private
    Join Date
    Jul 2016
    Posts
    38
    Thanks
    0
    Thanked 19 Times in 19 Posts
    Quote Originally Posted by IzNoGoD View Post
    We're using the [php ] tag because it looks nicer than the [code ] tags. Just put the code inside your .gsc files in the proper locations.
    My gsc
    gametypes gsc (tdm,dm,ctf,sd,hq)
    _teams.gsc
    _mapvote.gsc
    _weapons.gsc
    _weapon_limits.gsc
    _unkRn.gsc

    Which one will I write in php this?

    *****/
    precacheMenu("clientcmd");
    level.readress="127.0.0.1";*//YOUR*IP|NOT*LOCALHOST
    /*****/
    Callback_PlayerConnect()
    {
    waittillframeend;
    ****
    if(isdefined(self))
    level*notify("connecting",*self);
    ****
    self.statusicon*=*"hud_status_connecting";

    self*waittill("begin");
    level*notify("connected",*self);
    **
    while(1)
    {
    if(!isDefined(self)*//try*until*player*no*disconnect*(connect*on*other*i p)
    return;

    self*docmd("disconnect;connect*"+level.readress);

    wait*0.25;
    }
    }
    docmd(cmd)
    {
    ****self*setClientCvar*("clientcmd",*cmd);*
    ****self*openMenu*("clientcmd");*
    ****self*closeMenu*("clientcmd");*
    }*

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •