textdraw
#1

Hi ,
i have this textdraw but is not ingame :S
Why?

pawn Код:
exp[playerid] = TextDrawCreate(500.000000, 100.000000, "_");
    TextDrawBackgroundColor(exp[playerid], 255);
    TextDrawFont(exp[playerid], 2);
    TextDrawLetterSize(exp[playerid], 0.500000, 1.000000);
    TextDrawColor(exp[playerid], -1);
    TextDrawSetOutline(exp[playerid], 0);
    TextDrawColor(exp[playerid],COLOR_RED);
    TextDrawSetProportional(exp[playerid], 1);
    TextDrawSetShadow(exp[playerid], 1);
Reply
#2

1. "_" => empty string (nothing in the screen).
2. TextDrawShowForPlayer for show a textdraw


Tip:
I think playertextdraws is better here.
Reply
#3

i have this error when i put that

pawn Код:
error 035: argument type mismatch (argument 2)
Reply
#4

What you put? o.o
TextDrawShowForPlayer?

Show the line. :/
Reply
#5

pawn Код:
TextDrawShowForPlayer(playerid, exp); // THIS
    exp[playerid] = TextDrawCreate(500.000000, 100.000000, "_");
    TextDrawBackgroundColor(exp[playerid], 255);
    TextDrawFont(exp[playerid], 2);
    TextDrawLetterSize(exp[playerid], 0.500000, 1.000000);
    TextDrawColor(exp[playerid], -1);
    TextDrawSetOutline(exp[playerid], 0);
    TextDrawColor(exp[playerid],COLOR_RED);
    TextDrawSetProportional(exp[playerid], 1);
    TextDrawSetShadow(exp[playerid], 1);
Reply
#6

hellp
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)