I'm trying to display this...
[img]http://img136.**************/img136/5194/csassault0023nu7.jpg[/img]
But this is displaying for the whole CT team and my team mates stats.
What I'm trying to do is make it display for the squad you are in.
For eg...
I'm in squad alpha and I type /stats.
I want it to show the stats of everyone in squad alpha.
Not any other squads, just the CT side of squad alpha.
I know its somewhere in these lines...
PHP Code:
new infoTable[256], pdata[32][playerData], pnum
format(infoTable, 255, "HP - AP^t^tWEAPON^t^tAMMO^t^tNAME^n")
new iPlayers[32], iNum
get_players(iPlayers, iNum, "ae", "CT")
for (new x = 0 ; x < iNum ; x++)
{
new i = iPlayers[x]
new line[MAX_ROW_SIZE], name[32], ihp, hp[4], iap, ap[4], weapon[8], iclip, clip[4], iammo, ammo[4], weap = get_user_weapon(i, iclip, iammo)
The next thing is that I realized that all the squads are all linked to both teams.
For eg...
I'm in CT and I join squad delta.
Delta - 1/5
And someone in T joins squad delta too.
Delta - 2/5
How can I make it so both teams have their own group of squads so when you join one. It won't effect the other teams squad member count.
Thanks for the help!