car enter problem
#1

hello

i have RPG (role play game ) gamemod

i found 1 problem and i cant solve that

peroblem: when i lock the car and i left the server or relog into the server, afther spawn my personal car the other users can enter the car and car is the lock !!!

Reply
#2

Assuming the car is being despawned after you log out(After locking it)
You probably aren't saving and loading the vehicle information, such as if it's locked or not.
You need to set the vehicle params accordingly when the vehicle is spawned.
If it's locked, spawn it with lock params on. Otherwise, spawn it with lock params off.
Reply
#3

thats work and saving the lock status but othe car enter the car in lock status
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)