Hello,
So I am making a game which contains a lot of cars. Does anyone know how to basically restrict a vehicle to only the driver?
Meaning that, only the driver is able to enter the driveseat of the vehicle.
Hello,
So I am making a game which contains a lot of cars. Does anyone know how to basically restrict a vehicle to only the driver?
Meaning that, only the driver is able to enter the driveseat of the vehicle.
You should add an attribute called “Owner” and set the player to it, ensuring that only the owner can drive the current car if you’re referring to it.
Are you gonna make a spawn script if you are just add stringvalue or attribute
and put:
Spawnedcar.StringValue.Value = plr.Name
or
Spawnedcar:SetAttribute(“Owner”, plr.Name)