[HELP]how to set vehicle exist

i know how to set vehicle exist like this


but is there a native that… vehicle will exist only when player in-game?

i mean when player disconnect. the vehicle will gone

There is no native for that, but you could make it happen using several diffrent natives.

Use: FiveM Native reference

Good luck!

ok sir… thank you so much

the veh to net … seem to be the problem right? according to this

so i can’t find way how to make this script happen