Posts: 70
Threads: 23
Joined: Nov 2010
Reputation:
0
Is there a possible way to freeze every player? Because I made a timer and when it goes out it just freezes the first player. Same goes with playing sound. When the timer goes out it should freeze every player and play a sound, but it only freezes and plays a sound for 1 player.
Posts: 70
Threads: 23
Joined: Nov 2010
Reputation:
0
Doesn't work for me, I also tried doing a timer too. But I don't need it as a command. How do I make it that after the timer goes off, everyone freezes and a sound will play?
Posts: 973
Threads: 10
Joined: Sep 2012
Reputation:
0
Well if you tested it alone ofcouse it won't work i because i != playerid that won't freeze the only that used the command.
For the timer thing i didn't get the point explain more, you want a timer to go off but how will it go off?after you type a command?
Posts: 70
Threads: 23
Joined: Nov 2010
Reputation:
0
Oh, I didn't realize that it won't work alone. The timer is in OnGameModeInit, the timer goes off and the GameTextForAll draws and stuff, but I also need a sound to play and everyone should freeze. I'm going to try with a friend now. Thanks for the help by the way.
Posts: 70
Threads: 23
Joined: Nov 2010
Reputation:
0
Thanks. It works. But now I have another problem. My gamemode has 2 teams: RED and BLUE. In the timer, I want the RED team to be teleported into a specific location and BLUE team has to be teleported into another place too. Using the same code doesn't work obviously. Tried doing it myself but didn't work.
Posts: 552
Threads: 84
Joined: Oct 2011
Reputation:
0
could you show how you use teams id?