SA-MP Forums Archive
function list in pawno - 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)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: function list in pawno (/showthread.php?tid=154708)



function list in pawno - iggy1 - 15.06.2010

I made an include with some functions and just wana know how i can get them funtions to show in the function list on the right hand side of pawno IDE? its not realy a problem but would make life easier.
thanks in advance.


Re: function list in pawno - Carvos - 15.06.2010

Options => Show function list.


Re: function list in pawno - TheInnocentOne - 15.06.2010

Quote:
Originally Posted by Carvos
Options => Show function list.
He already has it open...

#include the file, and then restart pawno. It should appear. Try commenting the function header if it doesn't


Re: function list in pawno - [03]Garsino - 15.06.2010

pawn Код:
//native YourFunction(params);
// DONT REMOVE THE COMMENT!



Re: function list in pawno - iggy1 - 15.06.2010

yes i already have the window open and it shows the name of my include just not the functions inside it.
Quote:
Originally Posted by [03
Garsino ]
pawn Код:
//native YourFunction(params);
// DONT REMOVE THE COMMENT!
where do i put that?
That has no effect if i dont remove the comments and if i do i get errors when using the include.


Re: function list in pawno - [03]Garsino - 15.06.2010

In your include ofc.. Replacing 'YourFunctionName' and params with the functions name & params.


Re: function list in pawno - iggy1 - 15.06.2010

nvr mind lol i cant get it to happen like i said its not realy a problem thanks for help anway


Re: function list in pawno - russo666 - 15.06.2010

example.inc

pawn Код:
#include <a_samp>

/*
native Example(Float:X, Float:Y, Float:Z, Float:Size, Float:View);
*/


stock Example(Float:X, Float:Y, Float:Z, Float:Size, Float:View)
{
    // something here
    return 1;
}