0.3.8 virtualworld bug?
#1

Hi. I using custom objects++RemoveBuildingForPlayer(but i ain't remove any objects in Los Santos) So probably i found a bug.

When I create vehicle for player, and put him to this vehicle + change VW, then player still staying in his before position on minimap, and something weird happend: https://i.imgur.com/PocsMAq.png

---
CreateVehicle....
SetVehicleVirtualWorld(playerVehicle[playerid], 10+playerid);
SetPlayerVirtualWorld(playerid, 10+playerid);
PutPlayerInVehicle(playerid, playerVehicle[playerid], 0);

---

In VirtualWorld 0 everything works fine!

In 0.3.7 everything works fine with all VirtualWorlds!
Reply
#2

Put useartwork=0 in the server.cfg and see if that makes any difference. It could be caused by the model downloading system.
Reply
#3

When I turn off artwork(useartwork=0) everything works fine. That does not change the fact, that there is a some problem with VirtualWorld - because in VW 0 it's working.
Reply
#4

I don't know if it's a bug. If you have useartwork enabled, players won't stream anything until after OnPlayerFinishedDownloading is called. So you're trying to put the player in a vehicle that doesn't exist in their world yet.
Reply
#5

So. How can I ''fix'' this?
Reply
#6

Call PutPlayerInVehicle(playerid, playerVehicle[playerid], 0); in OnPlayerFinishedDownloading
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)