Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- {
- struct
- {
- int player_id;
- EAffectBits affect;
- } top_players[] =
- {
- // sura
- {1324, AFF_TOP1}, // top1
- {6, AFF_TOP1}, // top2
- {646, AFF_TOP1}, // top3
- // szaman
- {5605, AFF_TOP1}, // top1
- {4132, AFF_TOP1}, // top2
- {1155, AFF_TOP1}, // top3
- // woj
- {5490, AFF_TOP1}, // top1
- {5591, AFF_TOP1}, // top2
- {5098, AFF_TOP1}, // top3
- // ninja
- {5210, AFF_TOP1}, // top1
- {5329, AFF_TOP1}, // top2
- {1661, AFF_TOP1}, // top3
- // final
- //{5210, AFF_TOP1}, // top1
- //{5490, AFF_TOP1}, // top2
- //{5605, AFF_TOP1}, // top3
- };
- for (int i = 0; i < (sizeof(top_players) / (2 * sizeof(int))); ++i)
- {
- if (GetPlayerID() == top_players[i].player_id)
- {
- m_afAffectFlag.Set(top_players[i].affect);
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement