Interior Help
#1

how can i add an hospital interior in my server?
Reply
#2

my friend will tell you
https://sampwiki.blast.hk/
Reply
#3

easiest way is to use a pickup to link it..

create a pickup at the place where to enter the building..
pawn Код:
new enterb;
pawn Код:
public OnGameModeInit()
{
  enterb = CreatePickup(........);
  return 1;
}
pawn Код:
public OnPlayerPickUpPickup(playerid, pickupid)
{
  if(pickupid == enterb)
  {
    SetPlayerInterior(playerid, id); //replace with the interior ID you want to use
    SetPlayerPos(playerid, x, y, z); //replace with the coords
  }
  return 1;
}
either use a pre-build interior and just enter it's interiorid and the positions of it..
or make one on your own and select any interiorid for it that you like and figure out the pos by your objects..
Reply
#4

ive got an interior : https://sampforum.blast.hk/showthread.php?tid=69453 i want to exchange my old interior with a new interior how do i do itneeed help
Reply
#5

just replace The new interior cords and and interior id it's done
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)