Skip to content

Instantly share code, notes, and snippets.

@SamuXarick
Created February 12, 2023 18:51
Show Gist options
  • Save SamuXarick/b9ebcb5eb3c541e5869c0a2f0be912ff to your computer and use it in GitHub Desktop.
Save SamuXarick/b9ebcb5eb3c541e5869c0a2f0be912ff to your computer and use it in GitHub Desktop.
smart coding?
class LeagueTable extends GSController
{
tables = {
company_value_table = { id = null, el = array(GSCompany.COMPANY_LAST), val = {}, proc = function(c) { return LeagueTable.GetCompanyValue(c); } },
most_profitable_vehicle = { id = null, el = array(GSCompany.COMPANY_LAST), val = {}, proc = function(c) { return 0; } }, // todo
};
global_list = GSList();
function Start();
function Save();
function Load(version, data);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment