SA-MP Forums Archive
Text Draw Problem - 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 Problem (/showthread.php?tid=296931)



Text Draw Problem - hitman% - 13.11.2011

As you have ready my post of the logo .. I have downloaded the Textdraw editor 1.0 and made one!! I have saved it as a
filterscript and when i load itz not coming ... i have made it.... if you want the code and if u think itz the code problem here it iz... Can u give me a tutorial or something how to make it in game?? I know how to make the textdraw but itz nt loading in the game...

here is code
Код:
#include <a_samp>

new Text:Textdraw0;

public OnFilterScriptInit()
{
	print("Textdraw file generated by");
	print("    Zamaroht's textdraw editor was loaded.");

	// Create the textdraws:
	Textdraw0 = TextDrawCreate(466.000000, 315.000000, "Crazy Generations");
	TextDrawBackgroundColor(Textdraw0, -1);
	TextDrawFont(Textdraw0, 0);
	TextDrawLetterSize(Textdraw0, 0.709999, 3.099998);
	TextDrawColor(Textdraw0, -16776961);
	TextDrawSetOutline(Textdraw0, 1);
	TextDrawSetProportional(Textdraw0, 1);

	for(new i; i < MAX_PLAYERS; i ++)
	{
		if(IsPlayerConnected(i))
		{
			TextDrawShowForPlayer(i, Textdraw0);
		}
	}
	return 1;
}

public OnFilterScriptExit()
{
	TextDrawHideForAll(Textdraw0);
	TextDrawDestroy(Textdraw0);
	return 1;
}

public OnPlayerConnect(playerid)
{
	TextDrawShowForPlayer(playerid, Textdraw0);
	return 1;
}
Is there anything wid this?


Re: Text Draw Problem - hitman% - 13.11.2011

Help ME!!!!!


Re: Text Draw Problem - TheArcher - 13.11.2011

I think you exported the textdraw in the file but you didn't put in the GM/FS.


Re: Text Draw Problem - KosmasRego - 13.11.2011

Try searching on ****** ''Texdraw Maker SA:MP''


Re: Text Draw Problem - hitman% - 14.11.2011

i just made it and compiled it and i put in the filterscripts folder... Is there anything to do with the GM?? please ReplY!


Re: Text Draw Problem - hitman% - 14.11.2011

HELP ME PLEASE


Re: Text Draw Problem - hitman% - 14.11.2011

HELP


Re: Text Draw Problem - Stigg - 14.11.2011

Try:
pawn Код:
#include <a_samp>

new Text:Textdraw0;

public OnFilterScriptInit()
{
    print("Textdraw file generated by");
    print("Zamaroht's textdraw editor was loaded.");
    // Create the textdraws:
    Textdraw0 = TextDrawCreate(466.000000, 315.000000, "Crazy Generations");
    TextDrawBackgroundColor(Textdraw0, -1);
    TextDrawFont(Textdraw0, 0);
    TextDrawLetterSize(Textdraw0, 0.709999, 3.099998);
    TextDrawColor(Textdraw0, -16776961);
    TextDrawSetOutline(Textdraw0, 1);
    TextDrawSetProportional(Textdraw0, 1);
    TextDrawHideForAll(Textdraw0);
    return 1;
}

public OnFilterScriptExit()
{
    TextDrawDestroy(Textdraw0);
    return 1;
}
public OnPlayerSpawn(playerid)
{
    TextDrawShowForPlayer(playerid, Textdraw0);
    return 1;
}



Re: Text Draw Problem - MP2 - 14.11.2011

Use CLASSIC export mode and then implement it into your script.


Re: Text Draw Problem - hitman% - 14.11.2011

Quote:
Originally Posted by MP2
Посмотреть сообщение
Use CLASSIC export mode and then implement it into your script.
hm... But where should i paste the script ...