SA-MP Forums Archive
Streamer stops working when i create a textdraw - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Streamer stops working when i create a textdraw (/showthread.php?tid=624775)



Streamer stops working when i create a 3DLabel - BiosMarcel - 22.12.2016

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?


Re: Streamer stops working when i create a textdraw - Yaa - 22.12.2016

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


Re: Streamer stops working when i create a textdraw - BiosMarcel - 22.12.2016

... my logs are empty


Re: Streamer stops working when i create a textdraw - Yaa - 22.12.2016

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


Re: Streamer stops working when i create a textdraw - BiosMarcel - 22.12.2016

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


Re: Streamer stops working when i create a textdraw - Micko123 - 22.12.2016

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



Re: Streamer stops working when i create a textdraw - BiosMarcel - 22.12.2016

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


Re: Streamer stops working when i create a textdraw - BiosMarcel - 23.12.2016

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