예제 #1
0
 private static void ToggleFOV()
 {
     if (FOV == 65)
     {
         FOV = 80;
     }
     else if (FOV == 80)
     {
         FOV = 90;
     }
     else if (FOV == 90)
     {
         FOV = 120;
     }
     else
     {
         FOV = 65;
     }
     RPC.Cbuff_AddText(0, "cg_fov " + FOV.ToString());
 }
예제 #2
0
 private static void ToggleNotarget()
 {
     Notarget = !Notarget;
     RPC.Cbuff_AddText(0, "notarget " + (Notarget ? "ON" : "OFF"));
 }
예제 #3
0
 private static void ToggleThirdperson()
 {
     Thirdperson = !Thirdperson;
     RPC.Cbuff_AddText(0, "cg_thirdPerson " + (Thirdperson ? "ON" : "OFF"));
 }
예제 #4
0
 private static void ToggleUFO()
 {
     UFO = !UFO;
     RPC.Cbuff_AddText(0, "ufo " + (UFO ? "ON" : "OFF"));
 }
예제 #5
0
 private static void ToggleNoclip()
 {
     Noclip = !Noclip;
     RPC.Cbuff_AddText(0, "noclip " + (Noclip ? "ON" : "OFF"));
 }
예제 #6
0
 private static void ToggleGodmode()
 {
     Godmode = !Godmode;
     RPC.Cbuff_AddText(0, "god " + (Godmode ? "ON" : "OFF"));
 }
예제 #7
0
        private static void GiveItem()
        {
            string itemname = (string)MenuStruct[Menu_Index][Scroller_Index].optionParameter;

            RPC.Cbuff_AddText(0, "give " + itemname);
        }