Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- script 697 (void) CLIENTSIDE {
- int i;
- int myTid = ActivatorTID();
- int allyCount;
- allyCount = 0;
- for(i = 0; i < 32; i++)
- if(PlayerInGame(i) && GetPlayerInfo(i, PLAYERINFO_TEAM) == GetPlayerInfo(PlayerNumber(), PLAYERINFO_TEAM) && i != PlayerNumber())
- g_playerNumbers[allyCount++] = i;
- print(d:allyCount); // Goes to 0 after switching teams!
- Delay(35);
- Restart;
- }
Advertisement
Add Comment
Please, Sign In to add comment