Advertisement
Guest User

Untitled

a guest
Aug 20th, 2019
79
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.81 KB | None | 0 0
  1. {
  2. struct
  3. {
  4. int player_id;
  5. EAffectBits affect;
  6. } top_players[] =
  7. {
  8. // sura
  9. {1324, AFF_TOP1}, // top1
  10. {6, AFF_TOP1}, // top2
  11. {646, AFF_TOP1}, // top3
  12. // szaman
  13. {5605, AFF_TOP1}, // top1
  14. {4132, AFF_TOP1}, // top2
  15. {1155, AFF_TOP1}, // top3
  16. // woj
  17. {5490, AFF_TOP1}, // top1
  18. {5591, AFF_TOP1}, // top2
  19. {5098, AFF_TOP1}, // top3
  20. // ninja
  21. {5210, AFF_TOP1}, // top1
  22. {5329, AFF_TOP1}, // top2
  23. {1661, AFF_TOP1}, // top3
  24. // final
  25. //{5210, AFF_TOP1}, // top1
  26. //{5490, AFF_TOP1}, // top2
  27. //{5605, AFF_TOP1}, // top3
  28. };
  29.  
  30. for (int i = 0; i < (sizeof(top_players) / (2 * sizeof(int))); ++i)
  31. {
  32. if (GetPlayerID() == top_players[i].player_id)
  33. {
  34. m_afAffectFlag.Set(top_players[i].affect);
  35. }
  36. }
  37. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement