SA-MP Forums Archive
2 Questions related to Textdraws & A script error - 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: 2 Questions related to Textdraws & A script error (/showthread.php?tid=441156)



2 Questions related to Textdraws & A script error - CrazyManiac - 01.06.2013

Hello,

I have tried compiling my script but it gives me an error which I have never seen before:

testscript.pwn(486) : error 001: expected token: "#endif", but found "-end of file-"

I hope someone may be able to explain me the cause of this problem and how I fix it.

Also, I was wondering how you make a texture in your server like a picture.

As example, the SA:MP DayZ icon textures (In the right lower corner of the screen)



Greetings, CrazyManiac!


Re: 2 Questions related to Textdraws & A script error - [..MonTaNa..] - 01.06.2013

You're missing #endif


Re: 2 Questions related to Textdraws & A script error - CrazyManiac - 01.06.2013

Okay, thanks. Anyone able to answer me the question about the textdraw? (I'm making a DayZ server).


Re: 2 Questions related to Textdraws & A script error - CrazyChoco - 01.06.2013

You mean like hiding the map, and when they found the map it removes?


Re: 2 Questions related to Textdraws & A script error - CrazyManiac - 01.06.2013

No, I mean the small icons in the right lower corner of the screen, the icon of the milkshake, the heart, the fork&knife, and the pay n spray icon. how do they do it?


Re: 2 Questions related to Textdraws & A script error - CrazyManiac - 01.06.2013

Bumpppp?


Re: 2 Questions related to Textdraws & A script error - RichieĀ© - 01.06.2013

I think its sprites.


Re: 2 Questions related to Textdraws & A script error - CrazyManiac - 07.06.2013

Sprites? What do you mean, sprites?