Text-draw not showing? - 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: Text-draw not showing? (
/showthread.php?tid=386925)
Text-draw not showing? -
RLGaming - 22.10.2012
pawn Код:
CMD:work(playerid, params[])
{
WelcomeText = TextDrawCreate(156.5, 108, "WELCOME TO namehere");
TextDrawFont(WelcomeText, 3);
TextDrawLetterSize(WelcomeText, 1.0, 1.0);
TextDrawColor(WelcomeText, 0xFFFFFFFF);
TextDrawSetOutline(WelcomeText, 2);
TextDrawSetProportional(WelcomeText, true);
TextDrawSetShadow(WelcomeText, 5);
SendClientMessage(playerid, -1, "A text-draw should appear!");
return 1;
}
I have this but whenever I do the command it will give me the client message but no textdraw, I have aligned it in many different places and it still wont show up!
I have the WelcomeText defined to, no errors or warnings
I used
codegenerators.pl to make it
Thanks, +rep
Re: Text-draw not showing? -
newbienoob - 22.10.2012
TextDrawShowForPlayer?
Re: Text-draw not showing? -
RLGaming - 22.10.2012
Sorry, never done Text Draw's before, thank you
rep'd