The other script I didn’t know there was already a free version. Currently what was published yesterday is free and you can go there and confirm that the code is more complete than yours.
All this talk just because you think it’s a basic script?
If it’s basic and you don’t agree with mine, just do it.
But yes, about 200 real lines.
The code includes functions to create, delete, and search for vehicles in the game. There is also an event triggered when a player requests the spawn of a vehicle. Additionally, there is a function running continuously in the background that checks if a vehicle is owned by the player or not and deletes the vehicle if it is not owned by the player. Finally, there is an event triggered when the player presses a key to save the vehicle they are in. If the vehicle is in motion, the code displays a warning message, but if the vehicle is stationary, the vehicle is deleted and a message is displayed on the player’s screen.
astudiosdevelopment/astudios-pocketbmx (github.com) here is a free version for those of you looking. If you need help creating the items or adding more vehicles just reach out I would be more than happy to help