2013-10-08 15:53:37 -04:00
|
|
|
Core = cPluginManager:Get():GetPlugin("Core")
|
2013-10-04 17:22:01 -04:00
|
|
|
|
|
|
|
function SendMessage(a_Player, a_Message)
|
2013-10-08 15:53:37 -04:00
|
|
|
if (Core ~= nil) then
|
|
|
|
Core:Call("SendMessage", a_Player, a_Message)
|
2013-10-04 17:22:01 -04:00
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
function SendMessageSuccess(a_Player, a_Message)
|
2013-10-08 15:53:37 -04:00
|
|
|
if (Core ~= nil) then
|
|
|
|
Core:Call("SendMessageSuccess", a_Player, a_Message)
|
2013-10-04 17:22:01 -04:00
|
|
|
end
|
|
|
|
end
|
|
|
|
|
|
|
|
function SendMessageFailure(a_Player, a_Message)
|
2013-10-08 15:53:37 -04:00
|
|
|
if (Core ~= nil) then
|
|
|
|
Core:Call("SendMessageFailure", a_Player, a_Message)
|
2013-10-04 17:22:01 -04:00
|
|
|
end
|
2013-10-08 16:52:12 -04:00
|
|
|
end
|