Tag mismatch with Create3DTextLabel. HELP ME!
#1

I need create a TextLAbel and attach to vehicle but i have an error.



Код:
                    	new infovehiculo,string[256];
                        format(string, sizeof(string), "{F6FF00}VEHНCULO EN VENTA\n{FFFFFF}Precio: $%d\nID: %d", VehiculosInfo[i][vprecio], VehiculosInfo[i][vID]);
                        infovehiculo = Create3DTextLabel(string, 0xFF0000AA, 0.0, 0.0, 0.0, 50.0, 0, 1);
                        Attach3DTextLabelToVehicle(infovehiculo,VehiculosInfo[i][vID], 0.0, 0.0, 0.5);

line of error:

Код:
infovehiculo = Create3DTextLabel(string, 0xFF0000AA, 0.0, 0.0, 0.0, 50.0, 0, 1);
Reply
#2

Change:
pawn Код:
new infovehiculo,string[256];
to:
pawn Код:
new Text3D: infovehiculo, string[128];
Reply
#3

(Text3D:id, vehicleid, Float:OffsetX, Float:OffsetY, Float:OffsetZ)
As the wiki says, it must be Text3D:VARIABLE_NAME
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)