Player Virtual World
#1

Hi,

It'is possible that server automaticly change player world without i do that with SetPlayerVirtualWorld?
Reply
#2

I don't get you, you barely explained anything!
Reply
#3

PHP Code:
DisableInteriorEnterExits(); 
If you have this in your script, then no, there is no way of your VW being changed without a script doing it
Reply
#4

you can set timer like
pawn Code:
forward ChangeWorld();

public OnGameModeInit()
{
    ...
    SetTimer("ChangeWorld", 60000, 1); // this will change player VW every 1 minutes
    ...
    return 1;
}

public ChangeWorld()
{
    foreach(new i : Player) // i'm using foreach for looping
    {
          SetPlayerVirtualWorld(i, 0); // will set all player virtual world to 0
    }
    return 1;
}
Reply
#5

Quote:
Originally Posted by Sellize
View Post
PHP Code:
DisableInteriorEnterExits(); 
If you have this in your script, then no, there is no way of your VW being changed without a script doing it
But that changes your interior not virtual world?

Quote:
Originally Posted by TazmaNiax
View Post
you can set timer like
pawn Code:
forward ChangeWorld();

public OnGameModeInit()
{
    ...
    SetTimer("ChangeWorld", 60000, 1); // this will change player VW every 1 minutes
    ...
    return 1;
}

public ChangeWorld()
{
    foreach(new i : Player) // i'm using foreach for looping
    {
          SetPlayerVirtualWorld(i, 0); // will set all player virtual world to 0
    }
    return 1;
}
This is likely not what he's asking about.
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)