# Save Data Table Value (Planet)

Grammar — Save value as name in the scope|Global/Local data table
FlagsNative | Action

Saves a planet value into a data table. Data tables allow you to store and recall values using a string identifier. If you save a data table value using a string identifier that already exists, you will overwrite the old value, even if it is a different data type than the value you are saving.

# Arguments

  • bool [ preset::DataScope ] — Scope
  • string — Name
  • int [ planet ] — Value

Returns — void

native void DataTableSetPlanet(
	bool global,
	string name,
	int val,
);

Category: Data Table / Save Value

# Examples

— None found —