Create Dynamic 3D Text Label problem
#1

Hey!

I've got another problem, basically, 3DText Label is not appearing after I use function LoadBusiness() OnGameModeInIt..
Dynamic Pickup loads normally, but 3DText does not appear.

https://pastebin.com/aKgiSZpM
_________________________________________________
Prince Mogabest water purifier
Reply
#2

"Name" and "Owner" from the database do not load well.

cache_get_value_name has the following parameters:

Код:
cache_get_value_name (line_idx, const column_name [], destination [], max_len = sizeof (destination));
You have to put the maximum on the name and owner string. Depends how you declared it in the enum, it must be bName [32] (as an example).


New Code:
Код:
        cache_get_value_name(i, "Name", bInfo[i][bName], 32);
        cache_get_value_name(i, "Owner", bInfo[i][bOwner], 32);
Enum Example:

Код:
enum bizzInfo {
bName[32],
bOwner[32]
};
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)