Posts: 262
Threads: 73
Joined: Jul 2009
Reputation:
0
I maded a lock command with SetVehicleParamsForPlayer
but i have a little bug with it
after i lock the vehicle the vehicle is locked but i go far away from the vehicle and then i back the vehicle is unlocked i dont know why..
Posts: 2,938
Threads: 162
Joined: May 2010
cus ur the one who locked the car maybe.. when u reenter the car its gets unlocked>?
get someone to test with u whats ur server ip
Posts: 1,110
Threads: 183
Joined: Jul 2009
Reputation:
0
Wow, I was basicly right, cool :P
Posts: 1,506
Threads: 69
Joined: Feb 2008
The problem with that code is that it will lock for ALL players, even the one who locked It.
This will cause the person to not being able to re-enter the vehicle if he leaves It.
You will have to make a variable that connects the player to the vehicle.
Posts: 440
Threads: 14
Joined: Sep 2009
Reputation:
0
I know, I know, I was joking around about what you said to Kar.
Anyway, on topic: Once the vehicle is streamed in the vehicle params are reset.