more passengers for firetruck
#1

//Sorry for my bad english
I would like to have 6 passengers in fire truck, any ideas how can I do this?
thanks
Reply
#2

You cant really do this properly. You can have a interior to put them in and when they press enter, they leave it.
Reply
#3

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?
Reply
#4

Quote:
Originally Posted by [HiC]TheKiller
Посмотреть сообщение
You cant really do this properly. You can have a interior to put them in and when they press enter, they leave it.
Argonath RPG has a command /getin and it just sets you somewhere around the truck but you have to use /getout. If you press enter you'll crass. So maybe a system like this where it could set you in the middle of the truck and just keep updating your position but that'll cause some lag i'm sure.
Reply
#5

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.
Reply
#6

mp2 - great idea, thank you.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)