Posts: 62
Threads: 16
Joined: Apr 2010
Reputation:
0
//Sorry for my bad english
I would like to have 6 passengers in fire truck, any ideas how can I do this?
thanks
Posts: 2,629
Threads: 40
Joined: Mar 2008
Reputation:
0
You cant really do this properly. You can have a interior to put them in and when they press enter, they leave it.
Posts: 62
Threads: 16
Joined: Apr 2010
Reputation:
0
It will not work as I would like it to do, because the passengers will not know when to leave the truck.. it isn't possible to set 2 people on the one sitting place? or to attach player to vehicle?
Posts: 6,236
Threads: 310
Joined: Jan 2011
Reputation:
0
Use OnPlayerEnterVehicle and make extra passengers spectate the vehicle. You will need an array of the passenger seat counts for every vehicle and a loop to check if a vehicle is full.