summaryrefslogblamecommitdiffstats
path: root/MCServer/Plugins/MagicCarpet/coremessaging.lua
blob: 9fb2c0db1de991154250bea3492eee4630be3273 (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