Qent

Untitled

May 28th, 2012
123
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.40 KB | None | 0 0
  1. script 697 (void) CLIENTSIDE {
  2. int i;
  3. int myTid = ActivatorTID();
  4. int allyCount;
  5. allyCount = 0;
  6.  
  7. for(i = 0; i < 32; i++)
  8. if(PlayerInGame(i) && GetPlayerInfo(i, PLAYERINFO_TEAM) == GetPlayerInfo(PlayerNumber(), PLAYERINFO_TEAM) && i != PlayerNumber())
  9. g_playerNumbers[allyCount++] = i;
  10.  
  11. print(d:allyCount); // Goes to 0 after switching teams!
  12. Delay(35);
  13. Restart;
  14. }
Advertisement
Add Comment
Please, Sign In to add comment