Help me out with SetPlayerVirtualWorld
#1

I want to make it so, if there's a player in virtual world 1, it automatically sets other player to virtual world 2.
I have no clue how to do that, and I can't find it anywhere. Could someone help me out?
Reply
#2

deleted
Reply
#3

You can do something like this,
Code:
new vw = 1:

SetPlayerVirtualWorld(playerid, vw):// here vw of the 1st player joining will be 1
vw++: //after he enters to the world we make the vw 2 then the next player joining will be vw2
Like wise...
Gimme a rep if it was helpful
Reply
#4

Quote:
Originally Posted by GameOvr
View Post
You can do something like this,
Code:
new vw = 1:

SetPlayerVirtualWorld(playerid, vw):// here vw of the 1st player joining will be 1
vw++: //after he enters to the world we make the vw 2 then the next player joining will be vw2
Like wise...
Gimme a rep if it was helpful
Why do that?
Here's what you can do.

Code:
SetPlayerVirtualWorld(playerid, playerid);
Easy, right?
Reply
#5

Quote:
Originally Posted by Infin1ty
View Post
Why do that?
Here's what you can do.

Code:
SetPlayerVirtualWorld(playerid, playerid);
Easy, right?
This is a brilliant idea, you don't have to create useless variables + this will be unique to the player. +1
Reply
#6

Thank you!
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)