28.12.2011, 10:14
I somehow can't get this stuff working.
I load all my vehicles out of text files, that all works fine. But I somehow can not attach 3D Text Labels to them. In my code I got following line:
The last parameter of CreateDynamic3DTextLabel which I used is for the vehicle you want to attach the label to.
Those vehicles are being created a bit earlier with following line:
I am kind of stuck right now and I don't really know what I am doing wrong.
I load all my vehicles out of text files, that all works fine. But I somehow can not attach 3D Text Labels to them. In my code I got following line:
pawn Код:
VehicleInfo[idx][vLabel] = CreateDynamic3DTextLabel(vehiclestring,c_red,0.0,0.0,0.0,40.0,INVALID_PLAYER_ID,VehicleInfo[idx][vID]);
Those vehicles are being created a bit earlier with following line:
pawn Код:
VehicleInfo[idx][vID] = CreateVehicle( ... )
I am kind of stuck right now and I don't really know what I am doing wrong.