SA-MP Forums Archive
Interior Question - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Interior Question (/showthread.php?tid=66148)



Interior Question - Zeromanster - 19.02.2009

Hi,

I have 2 enter locations (on different parts of los santos) that lead to the same interior.

My question is, that when the player from entry point 1 enters, and when the player from entry point 2 enters I want that players don't see eachother.

Basicaly what I want to say is that all the players that entered from the first entry point, don't see the players that entered from the second entry point.

Any ideas how to make this ? Thanks


Re: Interior Question - Grim_ - 19.02.2009

From entry point one, set their virtual world to 1

From entry point two, set their virtual world to 2

Using:
pawn Код:
SetPlayerVirtualWorld(playerid, 1);
//and
SetPlayerVirtualWorld(playerid, 2);