[Help] Textdraws..
#1

Hey, ive made something to get the 3players with the highest score in the dm, which will be shown in a textdraw.
I have it like this:
Код:
for(new i = 0; i < MAX_PLAYERS; i++)
{
    if (val < zdmcount[i])//;
    {
        val = zdmcount[i];
        id = i;
    }
}
GetPlayerName(id, stringg, sizeof(stringg));
format(stringg, sizeof(stringg), "%s Kills: %d", stringg,zdmcount[id]);
SendClientMessageToAll(COLOR_BLUE,stringg);
TextDrawShowForPlayer(i,Text:TextdrawZombo1);
TextDrawShowForPlayer(i,Text:TextdrawZombotp);
TextDrawSetString(Text:TextdrawZombo1, stringg);
And it works, the name and his kills will be shown in the textdraw, only problem is how to make a 2nd and 3rd top-player? who will be under him. Textdraws already made. But just a function how to find the next best players..
Reply


Messages In This Thread
[Help] Textdraws.. - by Lutsen - 29.12.2010, 20:08
Respuesta: [Help] Textdraws.. - by [M]xFire - 29.12.2010, 22:34

Forum Jump:


Users browsing this thread: 1 Guest(s)