Streamer stops working when i create a textdraw
#1

Hello,

Whenever i create a 3D Text Label, my steamer stops working, down below is the code where i create the label.

PHP код:
Delete3DTextLabel(pickupInfo[newPickup][label]);
new 
labelText[40];
format(labelTextsizeof(labelText), "Vehicle Pickup\n%s"getVehicleName(vehicleModelId));
pickupInfo[newPickup][label] = Create3DTextLabel(labelText0x008080FFpickupXpickupYpickupZ40.000); 
Is anyone able to tell me why that is happening?
Reply
#2

Quote:
Originally Posted by [Bios]Marcel
Посмотреть сообщение
Hello,

Whenever i create a 3D Text Label, my steamer stops working, down below is the code where i create the label.

PHP код:
Delete3DTextLabel(pickupInfo[newPickup][label]);
new 
labelText[40];
format(labelTextsizeof(labelText), "Vehicle Pickup\n%s"getVehicleName(vehicleModelId));
pickupInfo[newPickup][label] = Create3DTextLabel(labelText0x008080FFpickupXpickupYpickupZ40.000); 
Is anyone able to tell me why that is happening?
complie with -d3 and use crashdetect
Reply
#3

... my logs are empty
Reply
#4

Quote:
Originally Posted by [Bios]Marcel
Посмотреть сообщение
... my logs are empty
what makes you sure it's from creating 3DTL ?
Reply
#5

I removed the text draw and it worked an antique programmer technique
Reply
#6

Try this
PHP код:
CreateDynamic3DTextLabel(labelText0x008080FFpickupXpickupYpickupZ40.0___00__); 
Reply
#7

Quote:
Originally Posted by Micko123
Посмотреть сообщение
Try this
PHP код:
CreateDynamic3DTextLabel(labelText0x008080FFpickupXpickupYpickupZ40.0___00__); 
Thats not a fix, that's a workaround, slight difference, i'd prefer using the default 3dtext, cause i want to replace the streamer soon
Reply
#8

Bump

So, i have switched to the DynamicText3DLables and it worked for a while, after adding some pickups (i removed the labels then), it doesn't stream objects again. And no switching to dynamic pickups didn't help at all.

Please help
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)