26.07.2016, 00:55
That method is actually rather ineffecient if you're looping through vehicles AND players, you should consider using this method to check if a vehicle is occupied instead:
http://forum.sa-mp.com/showpost.php?...5&postcount=13
The example I post only supports drivers however it can easily be expanded for all passengers as well.
http://forum.sa-mp.com/showpost.php?...5&postcount=13
The example I post only supports drivers however it can easily be expanded for all passengers as well.