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)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: TEXTDRAW!!!! (/showthread.php?tid=81973)



TEXTDRAW!!!! - Typhome - 15.06.2009

Its FS

Код:
#include <a_samp>

new Text:Textdraw1;

main()
{
	print("\n----------------------------------");
	print(" hiider");
	print("----------------------------------\n");
}

public OnGameModeInit()
{
	Textdraw1 = TextDrawCreate(1.000000,433.000000,"hiider.pri.ee");
	TextDrawAlignment(Textdraw1,0);
	TextDrawBackgroundColor(Textdraw1,0x000000ff);
	TextDrawFont(Textdraw1,2);
	TextDrawLetterSize(Textdraw1,0.499999,1.100000);
	TextDrawColor(Textdraw1,0xffffffff);
	TextDrawSetOutline(Textdraw1,1);
	TextDrawSetProportional(Textdraw1,1);
	TextDrawSetShadow(Textdraw1,1);
	return 1;
}

public OnPlayerConnect(playerid)
{
  TextDrawShowForPlayer(playerid, Textdraw1);
	return 1;
}
But ingame doenst show it...
Help?!


Re: TEXTDRAW!!!! - Typhome - 15.06.2009

Help ? Srry dblepst


Re: TEXTDRAW!!!! - Klutty - 15.06.2009

If its a FS, put the code under OnFilterScriptInit and not GameModeInit.


Re: TEXTDRAW!!!! - Typhome - 15.06.2009

Nope.. DOenst show,.

// ok


but what i put code to filterscriptinit ??


Re: TEXTDRAW!!!! - Typhome - 15.06.2009