Example #1
0
        public static void SV_Begin_f( )
        {
            Com.DPrintf("Begin() from " + SV_MAIN.sv_client.name + "\\n");
            if (Lib.Atoi(Cmd.Argv(1)) != SV_INIT.svs.spawncount)
            {
                Com.Printf("SV_Begin_f from different level\\n");
                SV_New_f();
                return;
            }

            SV_MAIN.sv_client.state = Defines.cs_spawned;
            PlayerClient.ClientBegin(SV_USER.sv_player);
            Cbuf.InsertFromDefer();
        }