Hello moders, good night, I hope everyone is well. Could someone give me an example of how to create (if not exist) a function that returns a specific number of players per team. Below I have a small example.
PHP Code:
#include <amxmodx>
#include <cstrike>
enum uUserData
{
bool:bSurrender
}
new UserData[MAX_PLAYERS + 1][uUserData]
// The player performs the function
UserData[id][bSurrender] = true
}
//Now what I need is a function that returns me the players who are surrendering, by teams [CT and TR]