Jump to content
  • 0

What the difference between function test(a) and function test()


g1doz

Question

3 answers to this question

Recommended Posts

test(a) is a preset function. 
a is a variable. 

for example you are lazy to type gg.searchNumber(x,y) then you can do this 
 

-- Preset function 
function SD(x) --search dword
	gg.searchNumber(x,gg.TYPE_DWORD)
end

then you can now use SD(any value) to search for dword. X is just an unknown, you can input any value inside or any variable.

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.