SA-MP Forums Archive
.inc save? - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: Other (https://sampforum.blast.hk/forumdisplay.php?fid=7)
+--- Forum: Everything and Nothing (https://sampforum.blast.hk/forumdisplay.php?fid=23)
+--- Thread: .inc save? (/showthread.php?tid=271191)



.inc save? - samtey - 23.07.2011

Hi!

I got a question! I had to copy foreach and pasted it in a word document! But how should I save it like this, that it will be save as a .inc document? I tried to put .inc at the end, but still word document1


Re: .inc save? - Zh3r0 - 23.07.2011

Just create a copy of another .inc file then open that, paste the code, and then just save it as a different name.


Re: .inc save? - Jofi - 23.07.2011

You need to change "Save as type" to "All Files" and then .inc at end of file name.

This is some random image i found from web:



AW: .inc save? - samtey - 23.07.2011

Thanks, that helped! Only one more thing:

I saved it as foreach.inc, is that right?
Does it matter, when left of them the numbers are? Like
500.
501.
502.
...


Re: .inc save? - samiras - 24.07.2011

As you specified in Microsoft Word do as following >> File > Save as >> Choose 'Plain Text' in the 'document type' ComboBox.
As far as those numbers is with your IDE there shouldnt be any problem, Otherwise if those are inside the .inc file; remove them.