Thread
:
Button:SetScript
View Single Post
08-21-14, 01:49 PM
#
2
Vrul
A Scalebane Royal Guard
Join Date: Nov 2007
Posts: 404
That last line should just be:
Code:
btnLock:SetScript("OnClick", printTest)
Using printTest() is trying to use the return of the function call where just printTest is passing the function itself.
Vrul
View Public Profile
Send a private message to Vrul
Find More Posts by Vrul