SA-MP Forums Archive
Dialog 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)
+--- Thread: Dialog stats (/showthread.php?tid=351428)



Dialog stats - kujox222 - 16.06.2012

Can someone post a link on how to create a dcmd stats command and save/load stats and when you type /stats it shows your stats in a dialog box? Its a dini system also.


Re: Dialog stats - Djole1337 - 16.06.2012

http://forum.sa-mp.com/showthread.ph...quest&page=237


.


Re: Dialog stats - Nicks - 16.06.2012

Try this
Код:
}
		return 1;
	}
	if(strcmp(cmd, "/stats", true) == 0)
	{
	    if(IsPlayerConnected(playerid))
	    {
			if(gPlayerLogged[playerid] != 0)
			{
				ShowStats(playerid,playerid);
			}
			else
			{
				SendClientMessage(playerid, COLOR_GRAD1, "   You are not Logged in !");
			}
		}