Interior probleme
#1

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 ?
Reply
#2

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.
Reply
#3

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)

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


Forum Jump:


Users browsing this thread: 1 Guest(s)