02.06.2014, 08:24
if you using CreateDynamicObject, by default,it's automaticly created in all interior.
Q: Then we can enter it?
A: Why not? you can easly use
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 Код:
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);
A: Why not? you can easly use
pawn Код:
SetPlayerInterior(playerid, interiorid); // the same interior id with the map you created
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