i've run into the problem that i dont know how to code this:
i want to get a specific player id from a specific team.
i try to explain a bit more.
let us say my server runs with 6:6 players on
6 are on ct side and 6 on terror side
so now i use in my plugin some functions to check things
on function checks the score for each team and log this to MySQL
now i want it so that the first or the first 2 players for a specific team
should be checked with some other stuffs.
but not randomly. need the exact first 2 player id's maybe more with a cvar like:
amx_check_teamplayers 1
but this is not important i know that kind of code. i need just help
to getting the first 1 till X amount of players with the highest frags (like in scoreboard) for specific team
that the function will return (like: CT or T but this can change everyround)
hope u understand what i try to explain here lol
thanks
Last edited by platzpatrone; 11-24-2009 at 21:03.
Reason: better Thread Title :)