Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- forward MinigameCounterUpdate();
- public MinigameCounterUpdate()
- {
- new Count[4], string[256];
- LOOP_PLAYERS(i)
- {
- if(minigame[i][minigameid] == 1) Count[0] ++;
- if(minigame[i][minigameid] == 2) Count[1] ++;
- if(minigame[i][minigameid] == 3) Count[2] ++;
- if(minigame[i][minigameid] == 4) Count[3] ++;
- }
- 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]);
- TextDrawSetString(MinigameTD[1], string);
- return 1;
- }
Advertisement
Add Comment
Please, Sign In to add comment