3D Text Problem
#1

Here is my Code

Код:
    for(new i = 0; i < MAX_VEHICLES; i++)
    {
            CarLabel[i] = Create3DTextLabel("%d",0x00AE00FF,CarInfo[i][cPlate],0,0,20.0,0,1);
            Attach3DTextLabelToVehicle( CarLabel[i],i, 0.0, 0.0, 2.0);
    }
It attaches fine but the problem is when i go in game all i see is '%d' on top of the car, how can i fix this :@
Reply
#2

pawn Код:
for(new i = 0; i < MAX_VEHICLES; i++)
    {
        new str[30];
        format(str, sizeof(str), "%d", CarInfo[i][cPlate]);
        CarLabel[i] = Create3DTextLabel(str, 0x00AE00FF, 0,0, 0, 20.0, 0, 1);
        Attach3DTextLabelToVehicle( CarLabel[i],i, 0.0, 0.0, 2.0);
    }
Reply
#3

lol thanks i forgot the string lmao
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)