Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #define PLAYERMAX 64
- int FrozenPlayers[PLAYERMAX];
- function int FrozenPlayerCount(int team)
- {
- int i, ret;
- for (i = 0; i < PLAYERMAX; i++)
- {
- if (PlayerTeam(i) != team) { continue; }
- ret += !!FrozenPlayers[i];
- }
- return ret;
- }
- script 482 (int freeze, int pln)
- {
- pln--;
- if (pln == -1) { pln = PlayerNumber(); }
- FrozenPlayers[pln] = !!freeze;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement