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



Stats - Ananisiki - 15.06.2013

^^^^^^^^


Re: Stats - SuperViper - 15.06.2013

https://sampforum.blast.hk/showthread.php?tid=442095

The font of the text at the top is either 0 or 3 and the rest of it is font 1.


Re: Stats - Ananisiki - 15.06.2013

^^^^^^^^


Re: Stats - WillyP - 15.06.2013

Integrate it with an account system


Re: Stats - Ananisiki - 15.06.2013

I have an saving system, can I do it with that?


Re: Stats - WillyP - 15.06.2013

Yep, you will get the player variables, place them into a string which will be shown through whichever means of presentation you choose.


Re: Stats - Ananisiki - 15.06.2013

^^^^^^^^


Re: Stats - Ananisiki - 15.06.2013

^^^^^^^^


Re: Stats - WillyP - 15.06.2013

I create each textdraw by themselves then add them together, each one will have their own string which will be things like this:
pawn Code:
format(string,sizeof(string),"Money: %d",pStats[pID][Money]);
and then
pawn Code:
TextDrawSetString(yourtd,string);