Comment on page
ℹ
MessageService
Service for sending game messages.
Example usage:
-- Sends an info message to players when they get a kill
Events.EntityDeath(function(event)
if event.killer and event.killer:getPlayer() then
MessageService.sendInfo(event.killer:getPlayer(), "You got a kill!")
end
end)
Broadcasts a message to everyone online
Sends an info message to a specific player
Sends an error message to a specific player
Last modified 4mo ago