SA-MP Forums Archive
24/7's , Burger Shots, Cluckin Bell's and Clothes Stores. - 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: 24/7's , Burger Shots, Cluckin Bell's and Clothes Stores. (/showthread.php?tid=186725)



24/7's , Burger Shots, Cluckin Bell's and Clothes Stores. - Eeeh - 30.10.2010

Hello!
Can someone please tell me, how can i make 2 (Or more) Burgershots, 24/7's, Cluckin Bells or Clothes Shops (ZIP; Victim; Pro-Laps; Binco etc.) with the same interior? PlayerToPointStripped?

Thanks.


Re: 24/7's , Burger Shots, Cluckin Bell's and Clothes Stores. - <Weponz> - 30.10.2010

EDIT:Just relised wat u acually asked xD


Re: 24/7's , Burger Shots, Cluckin Bell's and Clothes Stores. - Voldemort - 30.10.2010

new PlayerInt[MAX_PLAYERS];


than when he get in interior [ Not OnPlayerInteriorChange ]
set
PlayerInt[playerid] = 5; // Example

and when he exit check if he is at 5 exit else set pos to default


Re: 24/7's , Burger Shots, Cluckin Bell's and Clothes Stores. - bigcomfycouch - 30.10.2010

Use separate virtual worlds for each restaurant.


Re: 24/7's , Burger Shots, Cluckin Bell's and Clothes Stores. - Eeeh - 30.10.2010

pawn Код:
else if(PlayerToPointStripped(5.0, playerid, X,Y,Z, cx,cy,cz))
{
     GetPlayerVirtualWorld(playerid) == ID)
     {
          SetPlayerPos(playerid, x,Y,Z);
     }
}
else setplayerpos etc.

Something like this?