Business system problem
#1

I created a business system with business vehicles, but I want to lock the car to the owner of the business. I know how to lock the car for business owner, but it only works in short range around the business, because I'm using IsPlayerInRangeOfPoint, to find the business ID.
By the way, I want the car to be constantly locked.
Reply
#2

You need to track the lockstatus of the vehicle, as when they stream in, they need to be reset to the lock state they are.

Use OnVehicleStreamIn to reset their lockstate to the player it's streaming in for with SetVehicleParamsForPlayer. Use SetVehicleParamsEx to set the lock changes when the command is being used.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)