Virtual World ID's - 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)
+---- Forum: Help Archive (
https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Virtual World ID's (
/showthread.php?tid=88261)
Virtual World ID's -
.Bino. - 25.07.2009
Where can i find all the Virtual World ID's?
Re: Virtual World ID's -
Daem - 25.07.2009
there is 0-255 id's
edit..
when i think aabout it who sayd there is 0 - 255 id's!
there is infinite of them
Re: Virtual World ID's -
MadeMan - 25.07.2009
Do you know what is a virtual world?
Re: Virtual World ID's -
MachineHead - 25.07.2009
https://sampwiki.blast.hk/wiki/Limits
256 Virtual Worlds.
Re: Virtual World ID's -
abhinavdabral - 25.07.2009
Yes, they are from 0-255 (Total 256)
use then like
pawn Код:
SetPlayerVirtualWorld(playerid,worldid); //replace worldid with any number from 0-255
Thank You
-Abhinav
Re: Virtual World ID's -
.Bino. - 25.07.2009
Thanks... Now how can i create a virtual world like the default virtual world? (A copy of the default virtual world)
Re: Virtual World ID's -
abhinavdabral - 25.07.2009
well. the deafult VirWorld is 0 .... you can se another VirWorld of the player to 1 or w/e you want when they connect.
like
pawn Код:
OnPlayerConnect(playerid){
SetPlayerVirtualWorld(playerid,1); //setting the player's Virtual World to 1
return 1;
}
Re: Virtual World ID's -
.Bino. - 25.07.2009
I want that the Virtual World 1 is identical to the default 0 but the players of the virtual world 0 play in the virtual world 0 and the players of virtual world 1 play in virtual world 1
Re: Virtual World ID's -
MadeMan - 25.07.2009
All virtual worlds are identical if you mean the map.
Re: Virtual World ID's -
abhinavdabral - 25.07.2009
Players playing in a Virtual world (whether 0 or some other) cannot see the players playing on Any other virtual World.