SA-MP Forums Archive
How to check the ids of players inside the vehicle? - 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)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: How to check the ids of players inside the vehicle? (/showthread.php?tid=115085)



How to check the ids of players inside the vehicle? - Nakash - 22.12.2009

Is there a way to check the players that inside the vehicle?
Thanks.


Re: How to check the ids of players inside the vehicle? - saiberfun - 22.12.2009

Quote:
Originally Posted by Uniqueee
Is there a way to check the players that inside the vehicle?
Thanks.
make a loop and check if the player is in vehicle and the vehicleid
if it = ur vehicleid u mean then they are in it


Re: How to check the ids of players inside the vehicle? - Nakash - 22.12.2009

Quote:
Originally Posted by ┤ŞąiBЄЯҒПŋ├
Quote:
Originally Posted by Uniqueee
Is there a way to check the players that inside the vehicle?
Thanks.
make a loop and check if the player is in vehicle and the vehicleid
if it = ur vehicleid u mean then they are in it
I want to check it in VehicleID,i don't think it's possible.


Re: How to check the ids of players inside the vehicle? - V1ceC1ty - 22.12.2009

https://sampwiki.blast.hk/wiki/IsPlayerInVehicle
https://sampwiki.blast.hk/wiki/GetPlayerVehicleID