Interior probleme

I have a problem when I enter to an Interior. for example, if I enter in the Burger Shot of Marina and another player enter in Burger Shot of Temple or any Burger Shot in the map, I can see him even if we arent in the same Burger Shot. Is there any solution for this problem ?

You can use:

SetPlayerVirtualWorld(playerid, worldid);
depending on which location they enter, then upon exiting you can reset the virtualworld to default which is 0.

Best solution for that is to set unique VW for players for each business.
Just use your business ID as VW (because Biz ID is a unique value)

** Under /enter CMD **
SetPlayerVirtualWorld(playerid, businessid);
** Under /exit CMD **
SetPlayerVirtualWorld(playerid, 0);

Forum Jump:

Users browsing this thread: 1 Guest(s)