Textdraw only showing at 2 locations.
#1

I'd like to have a certain textdraw only show at 2 locations on my server. However, it works at one location, but not the other. It doesn't show up at all on the second one. I'm curious of why, or maybe someone could help figure this out.

pawn Код:
if(PlayerToPoint(50.0, i, 1400.3022,-3122.9741,9.6987) || PlayerToPoint(50.0, i, -2636.56,1403.46,906.46))
            {
                format(string, sizeof(string), "Tickets: %d", Tickets[i]);
                TextDrawSetString(TicketText[i], string);
                TextDrawShowForPlayer(i, TicketText[i]);
                TextDrawShowForPlayer(i, TicketText1[i]);
                if(PlayerInfo[i][pAdmin] < 1) SetPlayerArmedWeapon(i, 0);
            }
            if(!PlayerToPoint(50.0, i, 1400.3022,-3122.9741,9.6987) || !PlayerToPoint(50.0, i, -2636.56,1403.46,906.46))
            {
                TextDrawHideForPlayer(i, TicketText[i]);
                TextDrawHideForPlayer(i, TicketText1[i]);
            }
            if(!PlayerToPoint(160.0, i, 1400.3022,-3122.9741,9.6987))
            {
                if(ListeningCarnival[i] != 0)
                {
                    ListeningCarnival[i] = 0;
                    StopAudioStreamForPlayer(i);
                }
            }
This is the point I'd like it to show at:
pawn Код:
PlayerToPoint(50.0, i, -2636.56,1403.46,906.46
Reply


Messages In This Thread
Textdraw only showing at 2 locations. - by DJ_Shocker - 26.01.2013, 22:13
Re : Textdraw only showing at 2 locations. - by DJ_Shocker - 26.01.2013, 22:38
Re: Textdraw only showing at 2 locations. - by Threshold - 27.01.2013, 01:02

Forum Jump:


Users browsing this thread: 1 Guest(s)