Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- publics CountDuel()
- {
- foreach(Player, i)
- {
- if(Duel[i][dDuel] == 1)
- {
- if(Countmp > 0)
- {
- new string[150];
- format(string, sizeof(string), "~g~%d", Countmp);
- GameTextForPlayer(i, string, 500, 0);
- /*TogglePlayerControllable(i, 0);
- if(Countmp == 5) GameTextForPlayer(i, "~g~5", 200, 0);
- if(Countmp == 4) GameTextForPlayer(i, "~g~4", 200, 0);
- if(Countmp == 3) GameTextForPlayer(i, "~g~3", 200, 0);
- if(Countmp == 2) GameTextForPlayer(i, "~g~2", 200, 0);
- if(Countmp == 1) GameTextForPlayer(i, "~g~1", 200, 0);*/
- }
- else
- {
- TogglePlayerControllable(i, true);
- GameTextForPlayer(i, "~y~Fight!", 2500, 0);
- PlayerPlaySound(i, 3200, 0.0, 0.0, 0.0);
- }
- }
- }
- Countmp--;
- if(Countmp >= 0) SetTimer("CountDuel", 1000, false);
- return true;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement