TextLable doesnt update?
#12

So. Take this code:
PHP код:
forward OnPropTextdrawUpdate(bizzid);
public 
OnPropTextdrawUpdate(bizzid)
{
    
printf("Bizz-ID #2: %i - Owner: %s - bOwned: %i",bizzid,BizzInfo[bizzid][bOwner],BizzInfo[bizzid][bOwned]);
    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],2501);
    }
    if(
BizzInfo[bizzid][bOwned] == 1)
    {
        
printf("Bizz-ID #2: %i - Owner: %s",bizzid,BizzInfo[bizzid][bOwner]);
        
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],2501);
    }
    return 
1;

What is printing now?
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: 6 Guest(s)