SA-MP Forums Archive
How do i create /STats [ID] and take $$$ - 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: How do i create /STats [ID] and take $$$ (/showthread.php?tid=504853)



How do i create /STats [ID] and take $$$ - UfsDev - 06.04.2014

Contact Me Via Skype: Crx.Friends
Make /Stats And /Stats [ID]

Код:
Name:
Account ID:
Admin Level:
Vip Level:
Dm Score:
Duel Score
Race Score:
PT Score:
Ping: 
Skin:
Make /Stats And /Stats [ID] And Contact me via skype for more information/


Re: How do i create /STats [ID] and take $$$ - awsomedude - 06.04.2014

Try this:
Код:
CMD:stats(playerid, params[])
{
	new ID;
	if(sscanf(params, "u", ID))
	{
		// his own stats
	} else {
		// with id
	}
	return 1;
}



Re: How do i create /STats [ID] and take $$$ - Equuuuin0X - 06.04.2014

http://pastebin.com/z77X2qV4