summaryrefslogblamecommitdiffstats
path: root/MCServer/Plugins/MagicCarpet/coremessaging.lua
blob: acf21df5bd33dabd4b0f0d89b83d92432e2eeb23 (plain) (tree)
1
2
3
4
5
6
7
8
9
                                             

                                         

                                                             



                                                

                                                                    



                                                

                                                                    

           
Core = cPluginManager:Get():GetPlugin("Core")

function SendMessage(a_Player, a_Message)
	if (Core ~= nil) then
		Core:Call("SendMessage", a_Player, a_Message)
	end
end

function SendMessageSuccess(a_Player, a_Message)
	if (Core ~= nil) then
		Core:Call("SendMessageSuccess", a_Player, a_Message)
	end
end

function SendMessageFailure(a_Player, a_Message)
	if (Core ~= nil) then
		Core:Call("SendMessageFailure", a_Player, a_Message)
	end
end