Posts: 195
Threads: 52
Joined: Feb 2014
Reputation:
0
Hello everyone, I was wondering could somebody help me with how to code a new world kind of thing. Let me explain. I have scripted a kind of mini game within my server, and when you do /startcc it starts it by teleporting you to the game, but is there anyway I can have them teleported to a different world so if the next person starts the game they wont be in the same gamemode? Its basically so more than one person at a time can play the minigame. Thanks.
If the code is needed just ask please.
Posts: 83
Threads: 3
Joined: Feb 2011
Reputation:
0
new world;
When they game is full.
SetPlayerVirtualWorld(playerid, world+1);
world+1;
If you have vehicles to transfer it'll be more difficult. You'll have to pass all the vehicles in that game to the virtual world. If need it, give us the Vehicle Info array.
Posts: 195
Threads: 52
Joined: Feb 2014
Reputation:
0
Is there anyway I can have two players in the virtual world? Not just me like?
Posts: 362
Threads: 46
Joined: Jul 2013
Reputation:
0
And do they have a command like /playwith [ID] or they will be set randomly?
Posts: 362
Threads: 46
Joined: Jul 2013
Reputation:
0
I mean you want two players to play with each other right?How is the second player going to play with the first player?Does he have a command like for example /playwith [The id of the player you want to play with] or they just type /play and they will be teleported to a random player in the mini-game?
Posts: 195
Threads: 52
Joined: Feb 2014
Reputation:
0
I dont know, i wanted their to be a command like "Man has requested to play a CopChase with you. Type /acceptcopchase to join. If you could show me how to create that, that would be great.