View Single Post
11-17-10, 05:16 PM   #4
Dorwido
A Wyrmkin Dreamwalker
AddOn Author - Click to view addons
Join Date: Apr 2006
Posts: 54
as Rilgamon already said you need to watch for the event "ADDON_LOADED" and check if it was your addon loaded, before the saved variables are ready.

Code:
function events:PLAYER_LOGIN(...)  
22	  
23	if event == "PLAYER_LOGIN" then
and that will be always false because the variable event isnt declared

Last edited by Dorwido : 11-18-10 at 03:15 AM.
  Reply With Quote