SA-MP Forums Archive
3DTextDraws problem - 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: 3DTextDraws problem (/showthread.php?tid=611803)



3DTextDraws problem - XtremeRz - 11.07.2016

Well, When i try to create 3DTextDraws globally then compile, i get that output "Pawno compiler has stopped working"

Any help?


Re: 3DTextDraws problem - WhiteGhost - 11.07.2016

Some Codes?


Re: 3DTextDraws problem - yutaruta - 11.07.2016

Put the code that makes your compiler crash so we can find the problem


Re: 3DTextDraws problem - WhiteGhost - 11.07.2016

Quote:
Originally Posted by yutaruta
Посмотреть сообщение
Put the code that makes your compiler crash so we can find the problem
We didnt need a second post to say the same thing.


Re: 3DTextDraws problem - yutaruta - 11.07.2016

You asked him for some code. I ask him for the specify line that makes his compiler crash.
Also, we didn't need a third post to say something that doesn't help nobody.


Re: 3DTextDraws problem - WhiteGhost - 11.07.2016

Quote:
Originally Posted by yutaruta
Посмотреть сообщение
You asked him for some code. I ask him for the specify line that makes his compiler crash.
Also, we didn't need a third post to say something that doesn't help nobody.
Sigh...
Common sense would tell him to do that. would he post the whole GameMode?


Re: 3DTextDraws problem - yutaruta - 11.07.2016

He can post the entire textdraw code, the declarations, the definitions, and the show and hide functions.
I ask him for the specify line that make crash the compiler.
He can found it commenting lines until the compiler does not crash, then he know where is the problem


Re: 3DTextDraws problem - XtremeRz - 11.07.2016

Well, My question was simple, and i think i solved it.

In the global declarations, i was putting

new Text3D:helmetlabel; = Create3DTextLabel("Helmet ON",COLOR_TEAL,30.0,40.0,50.0,40.0,0);
new Text3D:helmetlabel2; = Create3DTextLabel("HelmetOFF",COLOR_TEAL,30.0,40.0 ,50.0,40.0,0);

And i switched it to

new Text3D:helmetlabel;
new Text3D:helmetlabel2;

So.. that's it i guess, didn't fully test yet, If it's wrong once i tested, i'll be mentioning here.

Thanks anyways!