TextDraw (INVALID_TEXT_DRAW) :| - 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 (INVALID_TEXT_DRAW) :| (
/showthread.php?tid=418805)
TextDraw (INVALID_TEXT_DRAW) :| -
IgrexolonO - 26.02.2013
Hai. I've got a big problem. I don't really know, how to define bigger TextDraws with INVALID_TEXT_DRAW. It's causing errors (textdraws from filterscripts won't load, when I've got my gamemode on).
http://pastebin.com/gium4wsh
I don't know, how should I define Text

pecShowInfo[MAX_PLAYERS][7] with INVALID_TEXT_DRAW. Please help me!
Re: TextDraw (INVALID_TEXT_DRAW) :| -
Jeffry - 26.02.2013
Well, I only know this way:
pawn Код:
public OnGameModeInit()
{
for(new i = 0; i < MAX_PLAYERS; i++)
{
for(new j = 0; j < 7; j++)
{
Text:SpecShowInfo[i][j] = INVALID_TEXT_DRAW;
}
}
//Other stuff...
return 1;
}
Re: TextDraw (INVALID_TEXT_DRAW) :| -
Misiur - 26.02.2013
It compiles fine, so assignment is fine.
pawn Код:
TextDrawSetSelectable(Text:flyArrows[6], 1);
Niepotrzebny tag