Player Virtual World - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Player Virtual World (
/showthread.php?tid=573626)
Player Virtual World -
Banditukas - 09.05.2015
Hi,
It'is possible that server automaticly change player world without i do that with SetPlayerVirtualWorld?
Re: Player Virtual World -
[KHK]Khalid - 09.05.2015
I don't get you, you barely explained anything!
Re: Player Virtual World -
Sellize - 09.05.2015
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
Re: Player Virtual World -
TazmaNiax - 09.05.2015
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;
}
Re: Player Virtual World -
[KHK]Khalid - 09.05.2015
Quote:
Originally Posted by Sellize
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
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.