SA-MP Forums Archive
XYZ HOUSE INTEROR PROBLEM - 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: XYZ HOUSE INTEROR PROBLEM (/showthread.php?tid=88496)



XYZ HOUSE INTEROR PROBLEM - Ben147 - 27.07.2009

when i added a house
i added the xyz of my house entrance after that i added the interior id that i taked from other house
but when i take the xyz of the other house interior and i added it to my new house when i exit from the house its exit from the other house
how can i copy that interior to make it in other house?


Re: XYZ HOUSE INTEROR PROBLEM - Mr_Finnigan - 27.07.2009

Код:
if(cpid == cp1)
  {
  Entered[playerid] = 1;
  SetPlayerPos(playerid,373.825653,-117.270904,1001.499511);
  SetPlayerInterior(playerid, 5);
  }
  if(cpid == cp2)
  {
  Entered[playerid] = 2;
  SetPlayerPos(playerid,373.825653,-117.270904,1001.499511);
  SetPlayerInterior(playerid, 5);
  }
  if(cpid == cp3)
  {
  if (Entered[playerid] == 1)
  SetPlayerPos(playerid,-1809.8419,942.8087,24.8677);
  SetPlayerInterior(playerid, 0);
  if (Entered[playerid] == 2)
  SetPlayerPos(playerid,-1719.8334,1356.2742,7.1875);
  SetPlayerInterior(playerid, 2);
  }
Something like this under OnPlyerEnterCheckPoint

with
Код:
new Entered[MAX_PLAYERS];



Re: XYZ HOUSE INTEROR PROBLEM - Abernethy - 27.07.2009

Change the Virtual World


Re: XYZ HOUSE INTEROR PROBLEM - Ben147 - 27.07.2009

how can i change the virtual world :/


Re: XYZ HOUSE INTEROR PROBLEM - Ben147 - 27.07.2009

SOLVED THANKS ALL
i changed virtual world