SecretBoss

Untitled

Nov 20th, 2015
133
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.55 KB | None | 0 0
  1. forward MinigameCounterUpdate();
  2. public MinigameCounterUpdate()
  3. {
  4. new Count[4], string[256];
  5. LOOP_PLAYERS(i)
  6. {
  7. if(minigame[i][minigameid] == 1) Count[0] ++;
  8. if(minigame[i][minigameid] == 2) Count[1] ++;
  9. if(minigame[i][minigameid] == 3) Count[2] ++;
  10. if(minigame[i][minigameid] == 4) Count[3] ++;
  11. }
  12.  
  13. format(string, sizeof(string), "~y~~h~/DM2 ~r~~h~~h~%i ~y~~h~/ODM ~r~~h~~h~%d ~y~~h~/MINIGUN ~r~~h~~h~%d ~y~~h~/BATTLEFIELD ~r~~h~%d", Count[0], Count[1], Count[2], Count[3]);
  14. TextDrawSetString(MinigameTD[1], string);
  15. return 1;
  16. }
Advertisement
Add Comment
Please, Sign In to add comment