Showing results 1 to 2 of 2
Search took 0.00 seconds.
Search: Posts Made By: myrroddin
Forum: Lua/XML Help 12-01-19, 04:03 AM
Replies: 4
Views: 1,631
Posted By myrroddin
You don't need ADDON_LOADED anymore. Use...

You don't need ADDON_LOADED anymore. Use PLAYER_LOGIN to set up everything including your saved variable.

Added bonus: you won't need to unregister PLAYER_LOGIN as it only fires once, whereas if you...
Forum: Lua/XML Help 11-30-19, 08:45 PM
Replies: 4
Views: 1,631
Posted By myrroddin
Instead of ADDON_LOADED, try PLAYER_LOGIN. I...

Instead of ADDON_LOADED, try PLAYER_LOGIN. I assume PearlCount is your saved variable? CurrentAmount should be a local variable.
Showing results 1 to 2 of 2