Script Documentation
#6

Quote:
Originally Posted by MP2
View Post
I have often found myself wondering 'what file is that function in' though. I just need to be more organized.
What about this: make a text file and make a list with the name of every function, plus the name their corresponding include file. If you do this, you only have to do CTRL+F, find the correct file name and you've got your function.

Another option is to use some program which can search through multiple files. I know Notepad++ had this function, labeled "Find in Files", which allows you to find a certain function in a whole directory. For example, when I search "format" in my include directory, it prints this:
Code:
  C:\Users\bas\Desktop\Test Server\pawno\include\a_npc.inc (3 hits)
	Line 28: native printf(const format[], {Float,_}:...);
	Line 29: native format(output[], len, const format[], {Float,_}:...);
	Line 29: native format(output[], len, const format[], {Float,_}:...);
  C:\Users\bas\Desktop\Test Server\pawno\include\a_samp.inc (6 hits)
	Line 55: native printf(const format[], {Float,_}:...);
	Line 56: native format(output[], len, const format[], {Float,_}:...);
	Line 56: native format(output[], len, const format[], {Float,_}:...);
	Line 65: native SetTimerEx(funcname[], interval, repeating, const format[], {Float,_}:...);
	Line 69: native CallRemoteFunction(const function[], const format[], {Float,_}:...);
	Line 70: native CallLocalFunction(const function[], const format[], {Float,_}:...);

[ And after that it prints every other include which uses the word "format"...]
Reply


Messages In This Thread
Script Documentation - by MP2 - 15.05.2013, 17:22
Re: Script Documentation - by playbox12 - 15.05.2013, 18:13
Re: Script Documentation - by Bakr - 15.05.2013, 18:22
Re: Script Documentation - by Cell_ - 15.05.2013, 18:46
Re: Script Documentation - by MP2 - 15.05.2013, 19:42
Re: Script Documentation - by Basssiiie - 15.05.2013, 20:42
Re: Script Documentation - by MP2 - 15.05.2013, 21:26
Re: Script Documentation - by Basssiiie - 15.05.2013, 21:29
Re: Script Documentation - by cessil - 15.05.2013, 21:58
Re: Script Documentation - by thefatshizms - 15.05.2013, 22:11
Re: Script Documentation - by Dan.. - 16.05.2013, 11:56

Forum Jump:


Users browsing this thread: 4 Guest(s)