How would i go about
#1

Ok, i've got a custom made interior for my hospital, How would i go about setting it so it's not in the main world, So you can't see it when you're flying. Like set it for a diffrent virtual world or somthing
Reply
#2

Use GetPlayerVirtualWorld to check the virtual-world for player and if the worldID is correct, then display the objects. There are some object-streamers on the forum for you to use with virtual-world option.
Reply
#3

Quote:
Originally Posted by ihatetn931
Ok, i've got a custom made interior for my hospital, How would i go about setting it so it's not in the main world, So you can't see it when you're flying. Like set it for a diffrent virtual world or somthing
If you want to make it without virtual worlds, put your map as high as you can at the sea
Reply
#4

pawn Код:
new ObjectsStreamed[MAX_PLAYERS];
for(new i; i<MAX_PLAYERS; i++)
{
  if(GetPlayerWorld(i) == /*Worldhere*/ && ObjectsStreamed[i] == 0)
  {
    //CreatePlayerObjects here ;)
    ObjectsStreamed[i] = 1;
  }
  if(ObjectsStreamed[i] == 1 && GetPlayerWorld(i) != /*Worldhere*/)
  {
    //DestroyPlayerObjectsHere ;)
    ObjectsStreamed[i] = 0;
  }
}
Something like that would work.

Reply
#5

Thank you for your help everyone.
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)