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



textdraws - L5651 - 02.06.2016

pawn Код:
//Global Textdraws:

new Text:Sunil;

Sunil = TextDrawCreate(616.500000, 2.625000, "welcome");
TextDrawLetterSize(Sunil, 0.449999, 1.600000);
TextDrawAlignment(Sunil, 3);
TextDrawColor(Sunil, -5963521);
TextDrawSetShadow(Sunil, 0);
TextDrawSetOutline(Sunil, -1);
TextDrawBackgroundColor(Sunil, 51);
TextDrawFont(Sunil, 1);
TextDrawSetProportional(Sunil, 1);
Код:
./includes/textdraws.pwn(6) : error 010: invalid function or declaration



Re: textdraws - ilijap - 02.06.2016

what is on line 6


Re: textdraws - L5651 - 03.06.2016

Quote:
Originally Posted by ilijap
Посмотреть сообщение
what is on line 6
Oh, forgot that

Код:
Sunil = TextDrawCreate(616.500000, 2.625000, "welcome");



Re: textdraws - L5651 - 04.06.2016

bump


Re: textdraws - Luicy. - 04.06.2016

You placed it on the wrong public, place it at OnGameModeInit