Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public PrepararContagem()
- {
- SetTimer("Contagem", 2000, false);
- return 1;
- }
- public Contagem()
- {
- if(Contar > 0)
- {
- for(new i; i < MAX_PLAYERS; i++)
- {
- if(JogadoresNoPaintBall[i] == 1 && IsPlayerConnected(i))
- {
- GameTextForPlayer(i, ContarTexto[Contar-1], 999, 3);
- TogglePlayerControllable(i, false);
- }
- }
- Contar--;
- SetTimer("Contagem", 1000, false);
- }
- else
- {
- for(new i; i < MAX_PLAYERS; i++)
- {
- if(JogadoresNoPaintBall[i] == 1 && IsPlayerConnected(i))
- {
- GameTextForPlayer(i, "~g~Vai! Vai! Vai!", 999, 5);
- TogglePlayerControllable(i, true);
- }
- }
- Contar = 5;
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment