[Tool/Web/Other] [Design only] /stats Textdraws
#1




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.
Reply


Messages In This Thread
[Design only] /stats Textdraws - by Rehasher - 05.02.2014, 18:25
Re: [Design only] /stats Textdraws - by MenDeZz97 - 05.02.2014, 18:44
Re: [Design only] /stats Textdraws - by ervinmasic - 05.02.2014, 19:32
Re: [Design only] /stats Textdraws - by Rehasher - 05.02.2014, 19:53
Re: [Design only] /stats Textdraws - by Vaishnav - 06.02.2014, 08:41
Re: [Design only] /stats Textdraws - by radiobizza - 06.02.2014, 09:11
Re: [Design only] /stats Textdraws - by DDR3 - 07.02.2014, 13:24
Re: [Design only] /stats Textdraws - by zT KiNgKoNg - 07.02.2014, 13:27
Re: [Design only] /stats Textdraws - by Jason_Zaden - 08.02.2014, 10:35
Re: [Design only] /stats Textdraws - by Edvin - 08.02.2014, 11:57

Forum Jump:


Users browsing this thread: 1 Guest(s)