SA-MP Forums Archive
[HELP] Stats - 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: [HELP] Stats (/showthread.php?tid=85916)



[HELP] Stats - b0r1quajay - 10.07.2009

How can i make this so it shows your own stats, and not anyone elses

pawn Код:
else if(strcmp("/mystats", cmd, true) == 0)
    {

        if(strcount(cmdtext, ' ') < 2) return SendClientMessage(playerid, COLOR_GREY,"USAGE: /mystats ");
        tmp = strtok(cmdtext, idx);
        new gplayer = ReturnUser(tmp, playerid);
        if (IsPlayerConnected(giveplayer))
        {



Re: [HELP] Stats - mamorunl - 10.07.2009

every other player should be made playerid

like 'giveplayer'