Advertisement
alditojeje

Untitled

Nov 9th, 2019
132
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.30 KB | None | 0 0
  1. function eventPlayerWon ( playerName, timeElapsed, timeElapsedSinceRespawn )
  2. contTeam1 = 0
  3. contTeam2 = 0
  4. for i, v in pairs(teams.Team1) do
  5. if playerName == v then
  6. contTeam1 = contTeam1 +1
  7. end
  8. for i,v in pairs (teams.Team2) do
  9. if playerName == v then
  10. contTeam2 = contTeam2 +1
  11. end
  12. end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement