SA-MP Forums Archive
textdraw - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: textdraw (/showthread.php?tid=367888)



textdraw - Vizi - 11.08.2012

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);



Re: textdraw - ReVo_ - 11.08.2012

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


Tip:
I think playertextdraws is better here.


Re: textdraw - Vizi - 11.08.2012

i have this error when i put that

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



Re: textdraw - ReVo_ - 11.08.2012

What you put? o.o
TextDrawShowForPlayer?

Show the line. :/


Re: textdraw - Vizi - 11.08.2012

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);



Re: textdraw - Vizi - 11.08.2012

hellp