PutPlayerInVehicle Crashes?
#1

Without using a rather unmanageable array, or a for loop, checking the ID of the player who is driver of a vehicle isn's possible (to my knowledge). I was wondering, if PutPlayerInVehicle is used on a player who is not in a vehicle, to put them into a vehicle's driver seat, which is currently occupied, if will cause CLIENT crashes (for the person trying to be put into the vehicle, or the current occupant of the vehicle) under any circumstances? Or if the function will just fail and no adverse affects on the players involved?

Just a quick question, thanks to anyone who knows an answer :P
Reply
#2

I don't think It will crash.
And yes, It's possible to check the driver of a vehicle, even the last driver of an unoccupied vehicle (That didn't respawn).

I think I've been accidently detained a suspect on a roleplay server in the same seat as another one,
and then re-detained him to the correct seat, multiple times, and they didn't crash.

Why don't you try it?


Reply
#3

Ok, thanks for your advice
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)