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()); }
private static void ToggleNotarget() { Notarget = !Notarget; RPC.Cbuff_AddText(0, "notarget " + (Notarget ? "ON" : "OFF")); }
private static void ToggleThirdperson() { Thirdperson = !Thirdperson; RPC.Cbuff_AddText(0, "cg_thirdPerson " + (Thirdperson ? "ON" : "OFF")); }
private static void ToggleUFO() { UFO = !UFO; RPC.Cbuff_AddText(0, "ufo " + (UFO ? "ON" : "OFF")); }
private static void ToggleNoclip() { Noclip = !Noclip; RPC.Cbuff_AddText(0, "noclip " + (Noclip ? "ON" : "OFF")); }
private static void ToggleGodmode() { Godmode = !Godmode; RPC.Cbuff_AddText(0, "god " + (Godmode ? "ON" : "OFF")); }
private static void GiveItem() { string itemname = (string)MenuStruct[Menu_Index][Scroller_Index].optionParameter; RPC.Cbuff_AddText(0, "give " + itemname); }