Textlabel -house not showing
#1

hey why doesnt this work the first part work it shows the id and everything but when its brought it doesnt show the textlabel

pawn Код:
new string[128],string2[128],string3[128];
    if(strcmp(hInfo[hi][Name],"ForSale",true)==0)
    {
        format(string,sizeof(string),"House Available For Sale");
        format(string2,sizeof(string2),"HouseId:%d Cost Price:%d Sell Price:%d",hi,hInfo[hi][Cost],hInfo[hi][Sell]);
        hInfo[hi][hText] = Text3D:CreateDynamic3DTextLabel(string, LIME, iconX, iconY, iconZ, 30,INVALID_PLAYER_ID, INVALID_VEHICLE_ID, 0,-1,-1, -1, 100);
        hInfo[hi][hTextc] = Text3D:CreateDynamic3DTextLabel(string2, LIME, iconX, iconY, iconZ-0.3, 30,INVALID_PLAYER_ID, INVALID_VEHICLE_ID, 0,-1,-1, -1, 100);
       
        HousePickup[hi] = CreateDynamicCP(iconX, iconY, iconZ, 1.5, -1, -1, -1, 30.0);
    }
    else if(strcmp(hInfo[hi][Name],"ForSale",true)!=0)
    {
        format(string3,sizeof(string3),"House Is Brought & Owned By %s~n~ House Id:%d", hInfo[hi][Name],hi);
        UpdateDynamic3DTextLabelText(hInfo[hi][hText], 0x8D8DFF00, string3);
        DestroyDynamic3DTextLabel(hInfo[hi][hTextc]);
        HousePickup[hi] = CreateDynamicCP(iconX, iconY, iconZ, 1.5, -1, -1, -1, 30.0);
    }
Reply


Messages In This Thread
Textlabel -house not showing - by Kar - 25.07.2010, 01:33
Re: Textlabel -house not showing - by DJDhan - 25.07.2010, 06:28
Re: Textlabel -house not showing - by Kar - 25.07.2010, 16:15
Re: Textlabel -house not showing - by Shadow™ - 25.07.2010, 16:28
Re: Textlabel -house not showing - by Kar - 25.07.2010, 16:32
Re: Textlabel -house not showing - by Shadow™ - 25.07.2010, 16:39
Re: Textlabel -house not showing - by Kar - 25.07.2010, 16:40
Re: Textlabel -house not showing - by Shadow™ - 25.07.2010, 17:07
Re: Textlabel -house not showing - by Kar - 25.07.2010, 17:27

Forum Jump:


Users browsing this thread: 1 Guest(s)