[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
#2

Very nice so coool )
Reply
#3

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

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

cool Bro nice I like it
Reply
#6

Nice
Good work.
Reply
#7

Nice works
Reply
#8

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

very nice i like it
Reply
#10

Aw, looks nice!
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)