SA-MP Forums

Go Back   SA-MP Forums > SA-MP Scripting and Plugins > Scripting Help > Discussion

Reply
 
Thread Tools Display Modes
Old 11/11/2018, 08:57 PM   #1
coosmiyn
Little Clucker
 
Join Date: Nov 2018
Posts: 1
Reputation: 0
Default 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.
coosmiyn is offline   Reply With Quote
Old 12/11/2018, 01:01 AM   #2
Pottus
High-roller
 
Pottus's Avatar
 
Join Date: Jun 2012
Posts: 4,851
Reputation: 1292
Default Re: Storing 3D Text in an array bugs code

Sounds like you are trying to reference an array out of bounds, use the crash detect plugin and figure out where that is happening.
Pottus is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Storing text data in a variable with an array Juvanii Scripting Help 4 28/03/2015 10:19 AM
Hey I need some help storing an array of numbers jeffery30162 Server Support 1 16/12/2014 07:36 PM
Reading Files and storing into an Array Deduction Scripting Help 0 12/12/2013 09:44 PM
Getting value from SQL And storing it inside an array Sphex Scripting Help 6 04/05/2012 02:47 PM
Storing data into an array? Deal-or-die Scripting Help 0 01/05/2012 07:00 PM


All times are GMT. The time now is 10:09 PM.


Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.