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: Question (
/showthread.php?tid=85118)
Question -
[LSB]TheGame - 05.07.2009
im using playertopoint
im just wondering i know you can use more than one interior using setvirtual world
so player enters a house at virtual 1 and other enters at virtual 2 they cant see each other
but...
my problem is if a player enters house 1 with virtual world 1 and exits fine
but if i enter the house with "same interior" house 2 and virtual world at 2 or any number
i exit outside house 1 with virtual world 1
is this possible to do so if i enter house 1 virtual world 1 i exit outside 1
and if i enter house 2 with virtual 2 i exit outside 2
thanks
Re: Question -
BMUK - 05.07.2009
pawn Код:
if(GetPlayerVirtualWorld(playerid) == 1)
{
// SetPlayerPos outside House 1
}
else
if(GetPlayerVirtualWorld(playerid) == 2)
{
// SetPlayerPos outside House 2
}
etc...
Re: Question -
[LSB]TheGame - 05.07.2009
thanks