Score + FPS td
#1

Could someone please make me a simple Score and FPS textdraw, I have no clue....

I dont want it to collide with this TD - http://prntscr.com/2uqqnr I didnt know where to ask for request so I tried here :P
Reply
#2

Fps:
http://pastebin.com/Ad15aN5B
Then following that code, create a score one (Just replace it with "SCORE", remove the Fps/DrunkLevel stuff, and use GetPlayerScore(i), lol)
Reply
#3

But wouldnt they like be on top of each other?
Reply
#4

Quote:
Originally Posted by Mriss
Посмотреть сообщение
But wouldnt they like be on top of each other?
Yeah but, you can change the location

My stuff:

pawn Код:
/*OnGameModeInit*/
for(new i = 0; i < MAX_PLAYERS; i++)
    {
        FPS[i] = TextDrawCreate(250.000000, 428.000000, "FPS: 30");
        TextDrawBackgroundColor(FPS[i], 255);
        TextDrawFont(FPS[i], 1);
        TextDrawLetterSize(FPS[i], 0.480000, 2.000000);
        TextDrawColor(FPS[i], -1);
        TextDrawSetOutline(FPS[i], 1);
        TextDrawSetProportional(FPS[i], 1);
        TextDrawSetShadow(FPS[i], 1);
    }
    for(new i = 0; i < MAX_PLAYERS; i++)
    {
        PING[i] = TextDrawCreate(350.000000, 428.000000, "PING: 80");
        TextDrawBackgroundColor(PING[i], 255);
        TextDrawFont(PING[i], 1);
        TextDrawLetterSize(PING[i], 0.480000, 2.000000);
        TextDrawColor(PING[i], -1);
        TextDrawSetOutline(PING[i], 1);
        TextDrawSetProportional(PING[i], 1);
        TextDrawSetShadow(PING[i], 1);
    }
Replace the "PING" with "SCORE" etc.. ;d
Reply


Forum Jump:


Users browsing this thread: 3 Guest(s)