The best way to learn is probably to study existing game content. Also, the following mods are part of the installation and serve as example:
urbangames_no_costs_1
: sets all cost related variables to zero (script-based)urbangames_vehicles_no_end_year_1
: sets the “end year” of each vehicle to zero, making them available forever (script-based)