OnVehicleStreamOut doesn't get called when entering casinos or leaving server -
iggy1 - 05.03.2014
Problem is when you enter a casino
OnVehicleStreamOut isn't being called for any vehicles that are streamed in. I tested in a few other interiors (ammu, 24/7 and lvpd) and
OnVehicleStreamOut is called fine when you enter them.
Might aswell keep it short because it's not a complex bug.
Re: OnVehicleStreamOut doesn't get called when entering casinos -
MP2 - 06.03.2014
I did some testing and it seems to not be a bug. It seems that vehicle streaming is 2D only. When you enter the casinos the interiors are directly above, unlike other interiors which are above Blueberry Acres.
The vehicles are still streamed in.
Re: OnVehicleStreamOut doesn't get called when entering casinos -
iggy1 - 06.03.2014
But if you go inside another interior surely there is no need to have vehicles in separate interior streamed in. Still seems like a bug to me.
Another thing is that OnVehicleStreamOut doesn't get called when you leave the server.
Wiki says:
Quote:
Originally Posted by samp wiki
"This callback is called when a vehicle is streamed out from some player's client"
|
If this is what was intended when it was programmed then it is bugged. Clearly vehicles should be streamed out if a player logs off, because they are certainly no longer streamed in for the offline player.
IMO if a vehicle is streamed out for a player no matter how it is streamed out OnVehicleStreamOut should be called. It's misleading otherwise.
For Example if you have a system that counts streamed in vehicles with OnVehicleStreamIn/Out (which seems the logical choice) it would get bugged if players die inside a casino or log off.
EDIT: If a player dies in a the casino OnVehicleStreamOut will be called, but still it isn't if the player leaves the server.