Originally Posted by ExoY
The quotation marks in GetUnitDisplayName shouldnt be there. It should be:
Code:
GetUnitDisplayName(savedPlayerId)
also i had a look at your addon.
Instead of creating and overwriting your save variables 6 times during initialization, i recommend doing it once and provide your default values within one table.
|
Thank you that fixed it up
Ill look at the saved variables thing next.