TextDraw (INVALID_TEXT_DRAW) :|
#1

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 TextpecShowInfo[MAX_PLAYERS][7] with INVALID_TEXT_DRAW. Please help me!
Reply
#2

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;
}
Reply
#3

It compiles fine, so assignment is fine.
pawn Код:
TextDrawSetSelectable(Text:flyArrows[6], 1);
Niepotrzebny tag
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)