One 3D Text Label in particular is NOT loading
#1

Hello, everyone.

I have my own scripted business / house system which works fine with no problems. Other than one little thing that I just can't seem to work out what's causing it.

When I restart my server, I have a function called under "OnGameModeInit" to search my MySQL database's business table and place the business pickups down, alongside the business label that is placed at the same coordinates as the business pickup icon.

Everything works fine! Every business has it's labels and pickups, except just one... That one business.. What confuses me is.. It actually places the pickup but fails to place the label after it? Yet the business before it and after it both load the label and pickup perfectly. So it's totally left me with no idea on what's causing this..

Here is a picture just to help get over what I'm talking about:

As you can see from the picture, the business on the left (which is loaded right before the business on the right) has successfully had it's pickup and label loaded. Yet the one on the right, has somehow only managed to have it's pickup loaded.

Although it can't be seen in the picture, the business right after the one on the right, loads everything fine. It's this ONE and ONLY business. Here is the code below:

pawn Код:
BusLabel[i] = CreateDynamic3DTextLabel(labeltext, COLOR_SNOW, BusInfo[i][CPX], BusInfo[i][CPY], BusInfo[i][CPZ], 15.0, INVALID_PLAYER_ID, INVALID_VEHICLE_ID, 0, -1, -1, -1, 100.0);
        BizzEnter[i] = CreateDynamicPickup(1272, 23, BusInfo[i][CPX], BusInfo[i][CPY], BusInfo[i][CPZ], -1, -1, -1, 100.0);
       
        BusCount ++;
Note: I only just tried Dynamic 3D Text Labels / pickups thinking it might have been caused by too many labels in the near by vicinity, but after attempting this, it still didn't fix the issue.

Any suggestions would be greatly appreciated. Thank you.
Reply


Messages In This Thread

Forum Jump:


Users browsing this thread: 5 Guest(s)