Help with Zamaroht's Texdraw editor - 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: Help with Zamaroht's Texdraw editor (
/showthread.php?tid=317194)
Help with Zamaroht's Texdraw editor -
ServerScripter - 10.02.2012
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(353.000000, 425.000000, "You can use : /vip /help /shop /report");
TextDrawAlignment(Textdraw0, 2);
TextDrawBackgroundColor(Textdraw0, 65535);
TextDrawFont(Textdraw0, 1);
TextDrawLetterSize(Textdraw0, 0.500000, 1.600000);
TextDrawColor(Textdraw0, -1);
TextDrawSetOutline(Textdraw0, 0);
TextDrawSetProportional(Textdraw0, 1);
TextDrawSetShadow(Textdraw0, 2);
return 1;
}
public OnFilterScriptExit()
{
TextDrawHideForAll(Textdraw0);
TextDrawDestroy(Textdraw0);
return 1;
}
public OnPlayerConnect(playerid)
{
TextDrawShowForPlayer(playerid, Textdraw0);
return 1;
}
whene i go In game i don't see the TD
hope you help me
Re: Help with Zamaroht's Texdraw editor -
Hoborific - 10.02.2012
Worked fine for me, remember to load the filterscript BEFORE you connect, or else you wont see it.
Re: Help with Zamaroht's Texdraw editor -
ServerScripter - 10.02.2012
oh it works now thanks