Question - Printable Version
+- SA-MP Forums Archive (
https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (
https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (
https://sampforum.blast.hk/forumdisplay.php?fid=12)
+---- Forum: Help Archive (
https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: Question (
/showthread.php?tid=158643)
Question -
bartje01 - 10.07.2010
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