SA-MP Forums Archive
Help 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: Help textdraw (/showthread.php?tid=516454)



Help textdraw - ThunderBold - 31.05.2014

Hi guys, i made a textdraw in pleomax editor on a 0.3e server and after i putted into my gamemode who runs 0.3z, and it's not showing.
Why?
My textdraw is :
Код HTML:
Textdraw0 = TextDrawCreate(487.199890, 426.346679, "Roleplay");
    TextDrawLetterSize(Textdraw0, 0.335598, 1.697066);
    TextDrawAlignment(Textdraw0, 1);
    TextDrawColor(Textdraw0, -1);
    TextDrawSetShadow(Textdraw0, 0);
    TextDrawSetOutline(Textdraw0, 0);
    TextDrawBackgroundColor(Textdraw0, 51);
    TextDrawFont(Textdraw0, 1);
    TextDrawSetProportional(Textdraw0, 1);
All is compiling fine and i putted at top new etc..


Re: Help textdraw - Parallex - 31.05.2014

Under OnPlayerConnect, put:
pawn Код:
public OnPlayerConnect(playerid)
{
TextDrawShowForPlayer(playerid, Textdraw0);
return 1;
}
Or - put it at other callback - which you prefer.


Re: Help textdraw - ThunderBold - 31.05.2014

Thank you very very much! +1