SA-MP Forums Archive
PutPlayerInVehicle fix? - 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: PutPlayerInVehicle fix? (/showthread.php?tid=399616)



PutPlayerInVehicle fix? - BaubaS - 15.12.2012

Well, I think everyone knows that bug, when putting player in used seat. Player, who is already sitting in that seat automatically gets out of the vehicle. Does anybody haves a function, who firstly will check (when using PutPlayerInVehicle) if seat isnt used. If its isnt used, then function will be called, but if it will used, it wont get called.


Re: PutPlayerInVehicle fix? - DaRk_RaiN - 15.12.2012

IsPlayerInAnyVehicle


Re: PutPlayerInVehicle fix? - Konstantinos - 15.12.2012

Read this.
Quote:
Originally Posted by SA:MP Wiki
TIP: Use GetPlayerVehicleSeat in a loop to check if a seat is available.