Little Help!! +rep
#1

i am very weak at textdraw so can someone make me a textdraw over Health bar in Green color? written

ULTIMATE STUNT paste the codes here this help i really need please help me in this thank you! ill +rep who helps me
Reply
#2

under health bar or money bar ?
Reply
#3

pawn Код:
new Text:Textdraw0;
    new Text:Textdraw1;

    Textdraw0 = TextDrawCreate(547.000000, 37.000000, "Ultimate");
    TextDrawBackgroundColor(Textdraw0, 255);
    TextDrawFont(Textdraw0, 1);
    TextDrawLetterSize(Textdraw0, 0.500000, 1.000000);
    TextDrawColor(Textdraw0, 16711935);
    TextDrawSetOutline(Textdraw0, 0);
    TextDrawSetProportional(Textdraw0, 1);
    TextDrawSetShadow(Textdraw0, 1);

    Textdraw1 = TextDrawCreate(548.000000, 50.000000, "Stunt");
    TextDrawBackgroundColor(Textdraw1, 255);
    TextDrawFont(Textdraw1, 1);
    TextDrawLetterSize(Textdraw1, 0.500000, 1.000000);
    TextDrawColor(Textdraw1, 16711935);
    TextDrawSetOutline(Textdraw1, 0);
    TextDrawSetProportional(Textdraw1, 1);
    TextDrawSetShadow(Textdraw1, 1);


    TextDrawShowForPlayer(playerid, Textdraw0);
    TextDrawShowForPlayer(playerid, Textdraw1);
Reply
#4

over money bar too!
Reply
#5

pawn Код:
#include <a_samp>

new Text:textdraw1;

public OnGameModeInit()
{
    textdraw1 = TextDrawCreate(483.0,98.0,"] Ultimate Stunt ]");
    TextDrawLetterSize(textdraw1, 0.330000,2.199999);
    TextDrawBackgroundColor(textdraw1,255);
    TextDrawColor(textdraw1, 0x00FF00AA);
    TextDrawSetOutline(textdraw1,1);
    TextDrawSetShadow(textdraw1,2);
    TextDrawFont(textdraw1,2);
    return 1;
}

public OnPlayerSpawn(playerid)
{
    TextDrawShowForPlayer(playerid,textdraw1);
    return 1;
}
// or you can put it on Onplayerconnect

/*public OnPlayerConnect(playerid)
{
    TextDrawShowForPlayer(playerid,textdraw1);
    return 1;
}
*/
pawn Код:
] Ultimate Stunt ]
~ ] - Star
- if you dont want the star just remove ] from the line
pawn Код:
textdraw1 = TextDrawCreate(483.0,98.0,"] Ultimate Stunt ]");
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)