01.09.2015, 08:12
You Can check My gungame & Paintball FS's these use systems like what you said but :
There is no need much timers just like 3x timers for gameprepare (let players join game in you wanted time)
gamestart(starts game and /join blocks) also gameend(timer sets in gamestart to finish game)
new playersconneced;
new playersingame;
new bool:IsPlayerIngame[MAX_PLAYERS];
new bool:IsGameStarted;
new bool:IsGamePrepare;
and use them on player connect also on /join and for limit of players if(playersingame == your limit) return something
also if(Playerisgame == 5) start a timer you can pute this on /join also you
can add some thing for playersconnected++ playersingame++ isplayeringame true ...
i hope you got what i said
There is no need much timers just like 3x timers for gameprepare (let players join game in you wanted time)
gamestart(starts game and /join blocks) also gameend(timer sets in gamestart to finish game)
new playersconneced;
new playersingame;
new bool:IsPlayerIngame[MAX_PLAYERS];
new bool:IsGameStarted;
new bool:IsGamePrepare;
and use them on player connect also on /join and for limit of players if(playersingame == your limit) return something
also if(Playerisgame == 5) start a timer you can pute this on /join also you
can add some thing for playersconnected++ playersingame++ isplayeringame true ...
i hope you got what i said