SA-MP Forums Archive
[Tool/Web/Other] [Design only] /stats Textdraws - 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: Filterscripts (https://sampforum.blast.hk/forumdisplay.php?fid=17)
+--- Thread: [Tool/Web/Other] [Design only] /stats Textdraws (/showthread.php?tid=492829)



[Design only] /stats Textdraws - Rehasher - 05.02.2014




Pastebin : http://pastebin.com/it4vkdYu
Textdraw Editor Project File (put in scriptfiles) : https://mega.co.nz/#!EoVyEYTB!Cp60WE...bQqDueBGyrpHiM

((Raw textdraws)) Use a function like stock UpdateStats(playerid) to update the textdraws.

BCRP didn't use this but I did start a update stats function, I'll provide you with what I started with and that could get you going.

Code:
stock UpdateStatsTD(playerid)
{
    new skin = GetPlayerSkin(playerid); new str[300];
    PlayerTextDrawSetPreviewModel(playerid, STATSTD[8][playerid], skin);
    format(str, sizeof(str), "Cash ~w~: $%d", GetPlayerMoney(playerid));
    PlayerTextDrawSetString(playerid, STATSTD[10][playerid], str);
    return 1;
}
Credits : Me and the BCRP scripting team.


Re: [Design only] /stats Textdraws - MenDeZz97 - 05.02.2014

Very nice so coool )


Re: [Design only] /stats Textdraws - ervinmasic - 05.02.2014

How i can make stats like that on my command /stats ?


Re: [Design only] /stats Textdraws - Rehasher - 05.02.2014

Make a command, show all the player textdraws. Make the function that updates the textdraws.


Re: [Design only] /stats Textdraws - Vaishnav - 06.02.2014

cool Bro nice I like it


Re: [Design only] /stats Textdraws - radiobizza - 06.02.2014

Nice
Good work.


Re: [Design only] /stats Textdraws - DDR3 - 07.02.2014

Nice works


Re: [Design only] /stats Textdraws - zT KiNgKoNg - 07.02.2014

Keep up the work Rehasher. (~ Rapter*™ btw :P ~)


Re: [Design only] /stats Textdraws - Jason_Zaden - 08.02.2014

very nice i like it


Re: [Design only] /stats Textdraws - Edvin - 08.02.2014

Aw, looks nice!