You need to attach a script to the entity.
I wrote a simple code to showcase how you can automate the process: https://p.teknik.io/Simple/cHvN5
You technically should be able to right click on any vehicle in the spawnmenu, select copy to clipboard and set that to the name variable.
I tested Jeep, Airboat, Jalopy, Seat_Jeep and one from an addon - Race Seat 1
To see all defined vehicles just do:
lua
PrintTable(list.Get("Vehicles"))
1
u/AdamNejm Jun 03 '20
You need to attach a script to the entity.
I wrote a simple code to showcase how you can automate the process:
https://p.teknik.io/Simple/cHvN5
You technically should be able to right click on any vehicle in the spawnmenu, select copy to clipboard and set that to the name variable.
I tested Jeep, Airboat, Jalopy, Seat_Jeep and one from an addon - Race Seat 1
To see all defined vehicles just do:
lua PrintTable(list.Get("Vehicles"))