Car, Road, and RoadDeco lua libraries

Share your ideas about possible future content here.
User avatar
1Code
Inhabitant of a Megacity
Reactions:
Posts: 302
Joined: 30 Jan 2020, 16:56
Location: https://bit.ly/3P5dhnT
Plugins: Showcase Store

Plugin Creator

Platform

Car, Road, and RoadDeco lua libraries

#1

Post 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()
Interactive Lua editor
Run
Last edited by 1Code on 07 Mar 2022, 15:50, edited 1 time in total.

User avatar
Kulche
Pluche
Reactions:
Posts: 1146
Joined: 07 Jun 2017, 20:28
Plugins: Showcase Store
Version: Beta

Plugin Creator

Platform

Re: Car, Road, and RoadDeco lua libraries

#2

Post by Kulche »

Probably because it's not code. You should avoid speaking in topics you have no idea about.

Post Reply Previous topicNext topic

Return to “Suggestions”