예제 #1
0
 /// <summary>
 /// Check if a certain special property is enabled
 /// </summary>
 public bool IsSpecialPropertyEnabled(WorldSpecialProperty property)
 {
     return(MtaClient.IsWorldSpecialPropertyEnabled(property.ToString().ToLower()));
 }
예제 #2
0
 /// <summary>
 /// Enables or disables a special world property.
 /// </summary>
 public bool SetSpecialPropertyEnabled(WorldSpecialProperty property, bool enable)
 {
     return(MtaClient.SetWorldSpecialPropertyEnabled(property.ToString().ToLower(), enable));
 }