Esempio n. 1
0
 /// <summary>
 /// Check if a certain GTA glitch is enabled
 /// </summary>
 public static bool IsGlitchEnabled(Glitch glitch)
 {
     return(MtaServer.IsGlitchEnabled(glitch.ToString().ToLower()));
 }
Esempio n. 2
0
 /// <summary>
 /// Enable or disable a certain known GTA glitch
 /// </summary>
 public static bool SetGlitchEnabled(Glitch glitch, bool enabled)
 {
     return(MtaServer.SetGlitchEnabled(glitch.ToString().ToLower(), enabled));
 }