Top 5 Kills as Textdraw
#1

Hey guys,
I want to do a Textdraw. In that Textdraw should be shown the Top
5 Killers who are connected or saved in a file
SO the Textdraws i still have.
But i don't know how to script it that it will shown the Top 5.

Hope you understand me.
greez
Reply
#2

Do you have already the textdraw?
Reply
#3

More importantly, what file system do you use?
Reply
#4

I forgot to say that i still have the Textdraws create and the file system i use is
SII (Slicks Ini Include)
Reply
#5

Drop down the textdraw so we can use it ... And did you gave it already a try?
Reply
#6

You will have trouble getting the top 5 from userfiles using anything apart from sql. (unless you have all users in one file, which isn't a good idea)
Reply
#7

So let's make it like when they are connected. It will saved in a variable called Player[playerid][Kills],
and yes i gave it a try but i can only do it for the most Kills for one Player.

edit: TextDraw:
Код:
T5Kills = TextDrawCreate(507.000000, 102.000000," ");
        TextDrawBackgroundColor(T5Kills, COLOR_BLACK);
 	TextDrawFont(T5Kills, 3);
 	TextDrawLetterSize(T5Kills, 0.5,1.5);
 	TextDrawAlignment(T5Kills,0);
 	TextDrawColor(T5Kills, COLOR_LIGHTBLUE);
 	TextDrawSetOutline(T5Kills, 2);
 	TextDrawSetShadow(T5Kills, 0);
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)