11-06-2013, 12:37 AM
I have the following script set up to start a 6s PUG:
sm_hsay GOING INTO 6S PUG MODE *NOW*.
sm_say GOING INTO 6S PUG MODE *NOW*.
sv_password 4edrutyfhjbaerf0897yrifs
exec sourcemod/sm_warmode_on
exec autoexec_ozfl
exec ozfl
exec 6v6
sv_alltalk 0
mp_autoteambalance 0
sm_hsay TEAMS ARE BEING SCRAMBLED. YOU HAVE 120 SECONDS TO SORT OUT CLASSES BEFORE THE PUG GOES LIVE.
sm_say TEAMS ARE BEING SCRAMBLED. YOU HAVE 120 SECONDS TO SORT OUT CLASSES BEFORE THE PUG GOES LIVE.
mp_scrambleteams
sm_hsay TEAMS SCRAMBLED. YOU HAVE 120 SECONDS TO SORT OUT YOUR CLASSES.
sm_say TEAMS SCRAMBLED. YOU HAVE 120 SECONDS TO SORT OUT YOUR CLASSES.
mp_restartgame 120
sm_hsay THE MATCH IS NOW LIVE. GOOD LUCK, HAVE FUN.
sm_say THE MATCH IS NOW LIVE. GOOD LUCK, HAVE FUN.
However, the sm_hsay and sm_say commands are invoked before mp_scrambleteams and mp_restartgame have completed. How can I fix this?
sm_hsay GOING INTO 6S PUG MODE *NOW*.
sm_say GOING INTO 6S PUG MODE *NOW*.
sv_password 4edrutyfhjbaerf0897yrifs
exec sourcemod/sm_warmode_on
exec autoexec_ozfl
exec ozfl
exec 6v6
sv_alltalk 0
mp_autoteambalance 0
sm_hsay TEAMS ARE BEING SCRAMBLED. YOU HAVE 120 SECONDS TO SORT OUT CLASSES BEFORE THE PUG GOES LIVE.
sm_say TEAMS ARE BEING SCRAMBLED. YOU HAVE 120 SECONDS TO SORT OUT CLASSES BEFORE THE PUG GOES LIVE.
mp_scrambleteams
sm_hsay TEAMS SCRAMBLED. YOU HAVE 120 SECONDS TO SORT OUT YOUR CLASSES.
sm_say TEAMS SCRAMBLED. YOU HAVE 120 SECONDS TO SORT OUT YOUR CLASSES.
mp_restartgame 120
sm_hsay THE MATCH IS NOW LIVE. GOOD LUCK, HAVE FUN.
sm_say THE MATCH IS NOW LIVE. GOOD LUCK, HAVE FUN.
However, the sm_hsay and sm_say commands are invoked before mp_scrambleteams and mp_restartgame have completed. How can I fix this?