I tried to create a code for Scripthook.net that creates cars when player is near the location of the car and creates again when player takes it. I don't have any coding knowledge but I wrote something with help from tutorials (the code doesn't work).
I wanted to make it check if player is in range 50<player<100 and if he is, check if there are any vehicles in the place the car will be created and create the car if there isn't any. The car should be flagged as no longer needed to despawn after player leaves it.
Can somebody help me with this? Or write a new code from scratch? The code doesn't necessarily need to be in C#. It would be good if you can show how to apply it to different cars in different locations.