SA-MP Forums Archive
PAWN documentation comments not working (xml file) - 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: PAWN documentation comments not working (xml file) (/showthread.php?tid=490379)



PAWN documentation comments not working (xml file) - MP2 - 26.01.2014

Please only try and help if you really know what the PAWN documentation comments are.

I've never used the PAWN documentation comments before, and want to start, but I can't get them to work at all.

I have this test file with a documented function:

pawn Код:
#include <a_samp>

/**--------------------------------------------------------------------------**\
<summary>Test</summary>
<param name="num">The number to print.</param>
<returns>
    -
</returns>
<remarks>
    Just a test.
</remarks>
\**--------------------------------------------------------------------------**/

Test(num)
{
    printf("%i", num);
}

main()
{
    Test(69);
}
The comments are taken directly from a YSI file and changed, so I know the problem isn't there (with how the comments are written).

The .xml file gets generated, but when I view it in Chrome, it's blank... The .xls file is in the right place also (in pawno\xml). It's also missing some information, such as the <remarks>..

Here's the generated xml file: http://pastebin.com/htzPCdXq (line 837)