Page 1 of 1

Car, Road, and RoadDeco lua libraries

Posted: 21 Mar 2021, 18:31
by 1Code

Code: Select all    Reset

Car.getXYL() Car.despawn() Car.getSpeed() Car.getRoadDraft() --where this car is currently driving on Car.setSpeed(speed) Car.isXXX() --e.g. XXX is either fire truck or ambulance or police car or train or etc Car.getWidth() Car.getHeight() Car.getStorage() Car.getFrame() Road.getCarCount() Road.getCarChargeableCount() Road.getDeco() --Returns the draft of the road decoration on this road Road.getXYL() Road.getOccupation () Road.setOccupation (draft) Road.getStorage() Road.getFrame() Road.getTraffic() Road.getCarDraft() --returns a table of car drafts that are on this road Road.setFrame(frame) RoadDeco.getCarCount() RoadDeco.getCarChargeableCar() RoadDeco.getStorage() RoadDeco.getXYL() RoadDeco.getCarDraft() --returns a table of car drafts that are on this road decoration RoadDeco.getOccupation() RoadDeco.setOccupation (draft) RoadDeco.getRoadDraft()
Lua editor
Run

Re: Car, Road, and RoadDeco lua libraries

Posted: 06 Mar 2022, 16:52
by Kulche
Probably because it's not code. You should avoid speaking in topics you have no idea about.