25.10.2018, 09:02
(
Последний раз редактировалось jewking; 25.10.2018 в 10:50.
)
https://imgur.com/gG31Bkp
Why does it duplicate "signal" as GameTextForPlayer
How can i repait it?
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);
}