Originally Posted by Baertram
Here is the code for the small SlashCommands addon I had created for you.
New slash commands are /mppon and /mppoff
SlashCommands v0.2
|
Thank you, Baertram.
Although, both of the new commands enable the player map pings.
Chat says "Player map pings enabled" with both /mppon and /mppoff.
Is this the problem?
Code:
SLASH_COMMANDS["/mppon"] = function() toggle_MapPingFromPlayers(true) end
SLASH_COMMANDS["/mppoff"] = function() toggle_MapPingFromPlayers(true) end
Should the 2nd part of the code say "(false)" instead of "(true)"?
I'm just taking a guess.