Problem with TextDraw
#1

https://imgur.com/gG31Bkp
Why does it duplicate "signal" as GameTextForPlayer
How can i repait it?
pawn Код:
if(SignalStrength(i,ActualStation[i])==0)
            {
               
                TextDrawSetString(Text:PhoneTDbox[14][i] ,"~l~|||||");
                SetPVarInt(i, "Signal", 0);
                if(GetPVarInt(i, "Mobile") != INVALID_MAXPL && GetPVarInt(i, "PhoneState") > 0  && GetPVarInt(i, "Dead") == 0) cmd_hangup(i, "");
            }
            else if(SignalStrength(i,ActualStation[i])==1)
            {
                TextDrawSetString(Text:PhoneTDbox[14][i] ,"~r~|~l~||||");
                SetPVarInt(i, "Signal", 1);
            }
            else if(SignalStrength(i,ActualStation[i])==2)
            {
                TextDrawSetString(Text:PhoneTDbox[14][i] ,"~r~||~l~|||");  
                SetPVarInt(i, "Signal", 2);
            }
            else if(SignalStrength(i,ActualStation[i])==3)
            {
                TextDrawSetString(Text:PhoneTDbox[14][i] ,"~r~|||~l~||");
                SetPVarInt(i, "Signal", 3);

            }
            else if(SignalStrength(i,ActualStation[i])==4)
            {
                TextDrawSetString(Text:PhoneTDbox[14][i] ,"~r~||||~l~|");
                SetPVarInt(i, "Signal", 4);

            }
            else if(SignalStrength(i,ActualStation[i])==5)
            {
                TextDrawSetString(Text:PhoneTDbox[14][i] ,"~r~|||||~l~");
                SetPVarInt(i, "Signal", 5);

            }
Reply


Messages In This Thread
Problem with TextDraw - by jewking - 25.10.2018, 09:02
Re: Problem with TextDraw - by Ciandlah - 25.10.2018, 09:12
Re: Problem with TextDraw - by jewking - 25.10.2018, 10:02
Re: Problem with TextDraw - by Ciandlah - 25.10.2018, 10:10
Re: Problem with TextDraw - by jewking - 25.10.2018, 10:47

Forum Jump:


Users browsing this thread: 2 Guest(s)