Пример #1
0
        /// <summary>
        /// ED_PrintEdict_f
        /// For debugging, prints a single edict
        /// </summary>
        static void PrintEdict_f()
        {
            int i = Common.atoi(Cmd.Argv(1));

            if (i >= Server.sv.num_edicts)
            {
                Con.Print("Bad edict number\n");
                return;
            }
            Progs.PrintNum(i);
        }
Пример #2
0
 static void PF_eprint()
 {
     Progs.PrintNum(Server.NumForEdict(GetEdict(OFS.OFS_PARM0)));
 }