17.06.2015, 03:25
When i enter in a house interior (some of my house interior have the same interiors) in another player enter his house we end up in the same house how do i fix that?
SetPlayerVirtualWorld(playerid, playerid + 500);
When i enter in a house interior (some of my house interior have the same interiors) in another player enter his house we end up in the same house how do i fix that?
|
Thats because the Virtual World is the same for you and for theother player. You can use something like this:
Код:
SetPlayerVirtualWorld(playerid, playerid + 500); |
set a different virtual world for each player when entering an interior.
when you exit you should set it back tot he same virtual world so they can see each other on the streets |