TextLable doesnt update?
#4

Of course
pawn Код:
forward OnPropTextdrawUpdate(bizzid);
public OnPropTextdrawUpdate(bizzid)
{
    if(BizzInfo[bizzid][bOwned] == 0)
    {
        Delete3DTextLabel(BizzLabel[bizzid]);
        format(PropertyString,sizeof(PropertyString),""COL_BIZ"%s \n"COL_WHITE"Status: For Sale \nPrice: $%s",BizzInfo[bizzid][bMessage],Comma(BizzInfo[bizzid][bBuyPrice]));
        BizzLabel[bizzid] = Create3DTextLabel(PropertyString ,COLOR_BIZ,BizzInfo[bizzid][bEntranceX], BizzInfo[bizzid][bEntranceY], BizzInfo[bizzid][bEntranceZ],25, 0, 1);
    }
    if(BizzInfo[bizzid][bOwned] == 1)
    {
        Delete3DTextLabel(BizzLabel[bizzid]);
        format(PropertyString,sizeof(PropertyString),""COL_BIZ"%s \n"COL_WHITE"Owner: %s \nEntry Fee: $%s",BizzInfo[bizzid][bMessage],BizzInfo[bizzid][bOwner],Comma(BizzInfo[bizzid][bEntranceCost]));
        BizzLabel[bizzid] = Create3DTextLabel(PropertyString ,COLOR_BIZ,BizzInfo[bizzid][bEntranceX], BizzInfo[bizzid][bEntranceY], BizzInfo[bizzid][bEntranceZ],25, 0, 1);
    }
    return 1;
}
Reply


Messages In This Thread
TextLable doesnt update? - by MayaEU - 26.06.2016, 09:20
Re: TextLable doesnt update? - by MayaEU - 26.06.2016, 10:54
Re: TextLable doesnt update? - by Mencent - 26.06.2016, 11:15
Re: TextLable doesnt update? - by MayaEU - 26.06.2016, 11:21
Re: TextLable doesnt update? - by Zevcore - 26.06.2016, 11:27
Re: TextLable doesnt update? - by Mencent - 26.06.2016, 11:30
Re: TextLable doesnt update? - by MayaEU - 26.06.2016, 11:36
Re: TextLable doesnt update? - by Mencent - 26.06.2016, 11:39
Re: TextLable doesnt update? - by MayaEU - 26.06.2016, 11:40
Re: TextLable doesnt update? - by Mencent - 26.06.2016, 11:41
Re: TextLable doesnt update? - by MayaEU - 26.06.2016, 11:47
Re: TextLable doesnt update? - by Mencent - 26.06.2016, 11:49
Re: TextLable doesnt update? - by MayaEU - 26.06.2016, 11:56
Re: TextLable doesnt update? - by Mencent - 26.06.2016, 11:57
Re: TextLable doesnt update? - by MayaEU - 26.06.2016, 12:03
Re: TextLable doesnt update? - by MayaEU - 26.06.2016, 12:48
Re: TextLable doesnt update? - by MayaEU - 26.06.2016, 15:31
Re: TextLable doesnt update? - by MayaEU - 27.06.2016, 14:44

Forum Jump:


Users browsing this thread: 1 Guest(s)