How to make custom interior ?
#7

if you using CreateDynamicObject, by default,it's automaticly created in all interior.
pawn Код:
native CreateDynamicObject(modelid, Float:x, Float:y, Float:z, Float:rx, Float:ry, Float:rz, worldid = -1, interiorid = -1, playerid = -1, Float:streamdistance = 200.0, Float:drawdistance = 0.0);
Q: Then we can enter it?
A: Why not? you can easly use
pawn Код:
SetPlayerInterior(playerid, interiorid); // the same interior id with the map you created
EDIT:
you can avoid the player find the map by changing the worldid(on the CreateDynamicObject). becouse by default it's setted -1 that mean all virtualworld. and when you want to enter it, also add
pawn Код:
SetPlayerVirtualWorld(playerid, worldid); // the same world id with the map
Reply


Messages In This Thread
How to make custom interior ? - by VenomMancer - 10.01.2014, 00:03
Re: How to make custom interior ? - by Hansrutger - 10.01.2014, 00:09
Re: How to make custom interior ? - by FreAkeD - 10.01.2014, 00:14
Re: How to make custom interior ? - by BlackSirrah239 - 10.01.2014, 00:18
Re: How to make custom interior ? - by K9IsGodly - 10.01.2014, 01:29
Re: How to make custom interior ? - by xZdadyZx - 10.01.2014, 12:25
Re: How to make custom interior ? - by AiRaLoKa - 02.06.2014, 08:24

Forum Jump:


Users browsing this thread: 1 Guest(s)