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



Textdraw Help - xSkullx - 31.07.2012

Hi everybody, i have an textdraw on my server, but when i turn on the server and i enter to see him, isn't there
In top of gamemode:
Код:
new Text:Textdraw0;
new Text:Textdraw1;
new Text:Textdraw2;
OnGameModeInit:
Код:
Textdraw0 = TextDrawCreate(473.000000, 411.000000, "Romania");
TextDrawBackgroundColor(Textdraw0, 255);
TextDrawFont(Textdraw0, 0);
TextDrawLetterSize(Textdraw0, 0.599999, 1.600000);
TextDrawColor(Textdraw0, -16776961);
TextDrawSetOutline(Textdraw0, 0);
TextDrawSetProportional(Textdraw0, 1);
TextDrawSetShadow(Textdraw0, 1);

Textdraw1 = TextDrawCreate(528.000000, 394.000000, "WonderFull");
TextDrawBackgroundColor(Textdraw1, 255);
TextDrawFont(Textdraw1, 0);
TextDrawLetterSize(Textdraw1, 0.599999, 1.600000);
TextDrawColor(Textdraw1, -65281);
TextDrawSetOutline(Textdraw1, 0);
TextDrawSetProportional(Textdraw1, 1);
TextDrawSetShadow(Textdraw1, 1);

Textdraw2 = TextDrawCreate(572.000000, 410.000000, "Stunts");
TextDrawBackgroundColor(Textdraw2, 255);
TextDrawFont(Textdraw2, 0);
TextDrawLetterSize(Textdraw2, 0.719999, 1.900000);
TextDrawColor(Textdraw2, 65535);
TextDrawSetOutline(Textdraw2, 0);
TextDrawSetProportional(Textdraw2, 1);
TextDrawSetShadow(Textdraw2, 1);
Ps: When i compile the .pwn file i don't receive any error


Re: Textdraw Help - Roko_foko - 31.07.2012

TextDrawShowForPlayer, do you use that function?


Re: Textdraw Help - The__ - 31.07.2012

You didn't use the TextDrawShowForAll/TextDrawShowForPlayer function(s).