15.05.2013, 20:42
Quote:
I have often found myself wondering 'what file is that function in' though. I just need to be more organized.
|

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"...]