You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

11 lines
659 B

  1. #define TGS_EXTERNAL_CONFIGURATION
  2. #define TGS_DEFINE_AND_SET_GLOBAL(Name, Value) GLOBAL_VAR_INIT(##Name, ##Value); GLOBAL_PROTECT(##Name)
  3. #define TGS_READ_GLOBAL(Name) GLOB.##Name
  4. #define TGS_WRITE_GLOBAL(Name, Value) GLOB.##Name = ##Value
  5. #define TGS_WORLD_ANNOUNCE(message) to_chat(world, "<span class='boldannounce'>[html_encode(##message)]</span>")
  6. #define TGS_INFO_LOG(message) log_world("TGS: Info: [##message]")
  7. #define TGS_ERROR_LOG(message) log_world("TGS: Error: [##message]")
  8. #define TGS_NOTIFY_ADMINS(event) message_admins(##event)
  9. #define TGS_CLIENT_COUNT GLOB.clients.len
  10. #define TGS_PROTECT_DATUM(Path) GENERAL_PROTECT_DATUM(##Path)