10.07.2010, 16:54
Hey guys.
I now have this:
[pawncode]
format(string, sizeof(string), "| %s's Stats: Adminlevel: %d | Cash: $%d | License(s): %d | Score: %d |Exp: %d |FunPoints: %d |grove: %d |sapd: %d |ballas: %d |",playername, adminlevel[playerid], money[playerid], license[playerid], Score[playerid], exp[playerid],funpoints[playerid], TEAM_GROVE[playerid], TEAM_SAPD[playerid], TEAM_BALLAS[playerid]);
SendClientMessage(playerid, COLOR_GREEN, string);
[/pawncode]
But now you always see this when you type /stats:
|grove: %d |sapd: %d |ballas: %d
I only want that you see your own gang.
Like:
if(grove[playerid] >= 1)
{
//Then you only see the grove gang in your /stats. not all the gangs.
}
please help
I now have this:
[pawncode]
format(string, sizeof(string), "| %s's Stats: Adminlevel: %d | Cash: $%d | License(s): %d | Score: %d |Exp: %d |FunPoints: %d |grove: %d |sapd: %d |ballas: %d |",playername, adminlevel[playerid], money[playerid], license[playerid], Score[playerid], exp[playerid],funpoints[playerid], TEAM_GROVE[playerid], TEAM_SAPD[playerid], TEAM_BALLAS[playerid]);
SendClientMessage(playerid, COLOR_GREEN, string);
[/pawncode]
But now you always see this when you type /stats:
|grove: %d |sapd: %d |ballas: %d
I only want that you see your own gang.
Like:
if(grove[playerid] >= 1)
{
//Then you only see the grove gang in your /stats. not all the gangs.
}
please help