Currently I'm working on something to add a bit of flavor when a player dies than just the "player was killed"
The problem I'm having at the moment is I can't figure out how to get this to work correctly in multiplayer, It works fine in singleplayer. So any help would be appreciated thanks. http://pastebin.com/ebdZi5Gy
Custom Death Messages
-
- Filter Inserter
- Posts: 478
- Joined: Fri Jul 17, 2015 6:56 pm
- Contact:
Custom Death Messages
Looking for a multiplayer server? Check out my servers Vanilla Server
Re: Custom Death Messages
Code: Select all
local death = math.random(1,14)
for o,observer in pairs(game.players) do
if observer.connected then
observer.print(dmessage[death])
end
end