06.03.2014, 09:14
(
Последний раз редактировалось iggy1; 06.03.2014 в 12:22.
Причина: Edit after more tests
)
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:
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.
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"
|
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.