25.05.2018, 01:05
hello how are sorry for my bad English but I have a problem and I do not know how to create a game but when only one player in the game that waits until another to play if you can help me thank you goodbye
So can I... If you're just going to moan about someones language without even trying to read what it is, then don't post and just leave it be.
He's wanting a system that when one player joins a server, or a minigame, that it won't 'start' until a second player joins. Now, DrUnix, Show your skill and throw up a concept of this scenario, or any sort of functions, or callbacks this person should be using... |
So can I... If you're just going to moan about someones language without even trying to read what it is, then don't post and just leave it be.
He's wanting a system that when one player joins a server, or a minigame, that it won't 'start' until a second player joins. Now, DrUnix, Show your skill and throw up a concept of this scenario, or any sort of functions, or callbacks this person should be using... |
new TotalPlayers,PlayerInGame[MAX_PLAYERS];
if(PlayerInGame[playerid]) PlayerInGame[playerid] = 0, TotalPlayers--;
PlayerInGame[playerid] = 1, TotalPlayers++;
if(TotalPlayers >= 2)