View Single Post
08/03/19, 10:46 AM   #16
NeuroticPixels
Addon Addict
 
NeuroticPixels's Avatar
Premium Member
Join Date: May 2019
Posts: 211
Originally Posted by Baertram View Post
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.
  Reply With Quote