Storing 3D Text in an array bugs code

Started by SA:MP, May 05, 2023, 08:51 AM

Previous topic - Next topic

0 Members and 2 Guests are viewing this topic.

SA:MP

Storing 3D Text in an array bugs code

Hello. I am new to pawn and all of this. I know some C and this helped me a lot but there is something that I just do not understand.

Why I try to put different Text3Ds in a Text3D array (using Create3DTextLabel or CreateDynamic3DTextLabel for initialization to create the description for different houses) some of my code just bugs out. There are no errors, but when you log in, every pickup just isn't there and also the PlayerToPoint commands do not work anymore, like the ones checking if the player is on a pickup to display a certain text to the screen, which also doesn't happen.

Source: Storing 3D Text in an array bugs code