How set interiors ids
#1

How can i set factions's interiors ?
I've tried put using interiors IDs, replacing all entrances on the GM, but when i try enter by the door, character is teleported to sky, and fall ...
There is something about virtual world, another mistake, or thing that i had forgot?
Thanks for support guys
Reply
#2

SetPlayerInterior(playerid,*interior-ID here*)
Reply
#3

you could do thing's like this

pawn Код:
SetPlayerPos(playerid, X,Y,Z); //positon in here
SetPlayerInterior(playerid, Interiourid); //Int in here
SetPlayerVirtualWorld(playerid, VWID); //vw in here
interior ids getable here http://weedarr.wikidot.com/interior
Reply
#4

Like that, example: SetPlayerInterior(playerid,0);
Reply
#5

I replace all olds IDS for the news (Using https://sampwiki.blast.hk/wiki/InteriorIDs), but doesnt work ...
Character still is teleported to sky, and falling into oblivion
Reply
#6

That must work, when you set the correct Universe ID.
Reply
#7

Do you mean an in-game command, for example dynamic doors?


If so, teleport to the place you wish to go to and /ddedit or whatever /ddedit interior (door id) and it'll set it like that.
Reply
#8

I replace all entrances for Jay's diner (457.304748,-88.428497,999.554687) to Saint Marks Bistro (-750.80,491.00,1371.70).

Код:
{
				                BizzInfo[houseid][bExitX] = 460.265411;
						BizzInfo[houseid][bExitY] = -88.611503;
						BizzInfo[houseid][bExitZ] = 1371.70;

						BizzInfo[houseid][bBuyPrice] = 300000;
						BizzInfo[houseid][bLevelNeeded] = 5;
						BizzInfo[houseid][bInterior] = 4;
						BizzInfo[houseid][bInteriorNr] = 38;

						strmid(BizzInfo[houseid][bMessage],"Restaurant",0,strlen("Restaurant"),255);
					}
to

Код:
{
				                BizzInfo[houseid][bExitX] = -750.80;
						BizzInfo[houseid][bExitY] = 491.00;
						BizzInfo[houseid][bExitZ] = 999.554687;

						BizzInfo[houseid][bBuyPrice] = 300000;
						BizzInfo[houseid][bLevelNeeded] = 5;
						BizzInfo[houseid][bInterior] = 1;
						BizzInfo[houseid][bInteriorNr] = 38;

						strmid(BizzInfo[houseid][bMessage],"Restaurant",0,strlen("Restaurant"),255);
					}
Reply
#9

The server works with another database.

There're three Restaurants in server, and i tried replace too, but characters stills falling.

Example:

Код:
Owned=0
Owner=The State
Message=Restaurant
ExtortionBy=No-One
Entrance_X=1015.725585
Entrance_Y=-1508.778442
Entrance_Z=13.535696
Exit_X=460.265411
Exit_Y=-88.611503
Exit_Z=999.554687
LevelNeeded=5
Price=300000
EntranceCost=0
Till=0
Locked=0
Interior=4
Products=495
MaxProducts=500
ProductPrice=100
VirtualWorld=24
InteriorNr=38
Setted=1
I change Exit_X , Exit_Y and Exit_Z and interior, to 1.

What else should i change?
Reply
#10

Sry guys, i got it, just replacing.

Thanks everybody
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)