Is it possible to make sure that a player with some privilege can save any car under a certain preset, without the player being able to call a random car? It could also cause it and destroy.
Create preset without spawning?Suggestion
I am not really following. Can you be more specific about what problem you are trying to solve?
What is the purpose of a player being able to save a car as a preset if they cannot spawn a car? How do they redeem that preset? Are you simply trying to prevent introduction of more cars into the map? If so, I'm not sure what the purpose of despawning the car will be since new cars can spawn naturally.
Merged post
What is the purpose of a player being able to save a car as a preset if they cannot spawn a car? How do they redeem that preset? Are you simply trying to prevent introduction of more cars into the map? If so, I'm not sure what the purpose of despawning the car will be since new cars can spawn naturally.
Merged post
Reading this again, it sounds like you want to prevent players from spawning cars with random configurations using the mycar 2-4 commands, and only allow spawning a car from a player-defined preset. The issue is that players won't be able to make player-defined presets if they don't start with a car of a random configuration. So it seems you want a feature where a player can save a preset from any car they are looking at for example, and then presumably spawn it any time.
The main thing I don't understand is, what is the problem with players being able to spawn cars with random module configurations? Players can change the configuration of the car anyway at a lift unless you are restricting the module items or something.
Yes, that's what I meant.WhiteThunder
Reading this again, it sounds like you want to prevent players from spawning cars with random configurations using themycar 2-4commands, and only allow spawning a car from a player-defined preset. The issue is that players won't be able to make player-defined presets if they don't start with a car of a random configuration. So it seems you want a feature where a player can save a preset from any car they are looking at for example, and then presumably spawn it any time.
The point is to allow the player to find parts for a car, chassis, assemble it himself with a lock, with fuel. But at the same time so that he can remember it and spawn wherever he wants.
Is it mainly that you want the player to go through the journey of finding and assembling the car? The only real difference with being able to spawn a random car initially is the player doesn't have to find it on the road. The way I see it, the player is still able to spawn the preset car whenever and wherever, which gives them essentially a free car with free modules, so functionally there isn't much downside to being able to spawn a random one as well.
Later on, I plan to implement something like portable vehicles that will allow presets. That would allow the player to put the car in their inventory after configuring it. That might be more in line with the experience you are looking for, but the player would also be able to lose the car.
Later on, I plan to implement something like portable vehicles that will allow presets. That would allow the player to put the car in their inventory after configuring it. That might be more in line with the experience you are looking for, but the player would also be able to lose the car.