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(labelText, sizeof(labelText), "Vehicle Pickup\n%s", getVehicleName(vehicleModelId));
pickupInfo[newPickup][label] = Create3DTextLabel(labelText, 0x008080FF, pickupX, pickupY, pickupZ, 40.0, 0, 0);
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(labelText, sizeof(labelText), "Vehicle Pickup\n%s", getVehicleName(vehicleModelId));
pickupInfo[newPickup][label] = Create3DTextLabel(labelText, 0x008080FF, pickupX, pickupY, pickupZ, 40.0, 0, 0);
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(labelText, 0x008080FF, pickupX, pickupY, pickupZ, 40.0, _, _, _, 0, 0, _, _);
Re: Streamer stops working when i create a textdraw -
BiosMarcel - 22.12.2016
Quote:
Originally Posted by Micko123
Try this
PHP код:
CreateDynamic3DTextLabel(labelText, 0x008080FF, pickupX, pickupY, pickupZ, 40.0, _, _, _, 0, 0, _, _);
|
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