21.01.2010, 04:14
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
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
|
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;
}
}