more passengers for firetruck - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: more passengers for firetruck (
/showthread.php?tid=298233)
more passengers for firetruck -
Sielly - 19.11.2011
//Sorry for my bad english
I would like to have 6 passengers in fire truck, any ideas how can I do this?
thanks
Re: more passengers for firetruck -
[HiC]TheKiller - 19.11.2011
You cant really do this properly. You can have a interior to put them in and when they press enter, they leave it.
Re: more passengers for firetruck -
Sielly - 19.11.2011
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?
Re: more passengers for firetruck -
Steven82 - 19.11.2011
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.
Re: more passengers for firetruck -
MP2 - 20.11.2011
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.
Re: more passengers for firetruck -
Sielly - 26.11.2011
mp2 - great idea, thank you.