• No Kill Logs
    3 replies, posted
Hoy, me hearties at Facepunch. I own a DarkRP server and recently, the kill logs in the console stopped working. I enabled the svar 'rp_showdeaths' and that didn't work either. As far as I remember, I didn't add anything that could possibly conflict with this lately. If you have any suggestions, that would be great as it's much harder to find Random Deathmatchers now. Thanks so much!
On top of this, dropmoneyondeath isn't working.
- which darkrp version are you using - any lua errors serverside? - don't forget, the place for all darkrp bugs are there: [url]http://code.google.com/p/darkrp/[/url] for easy rdm detection i use this go to sv_gamemode_functions.lua right after [CODE]ServerLog(ply:Nick().." was killed by "..KillerName.." with " .. WeaponName)[/CODE] add [CODE] -- noticeable kills in admin's console for k,v in pairs(player.GetAll()) do if v:IsAdmin() then v:PrintMessage(HUD_PRINTCONSOLE, "==========[KILL]==========\n["..ply:Nick().."] was killed by ["..KillerName.."] with [".. WeaponName.."]") end end[/CODE] [quote="RDM"] ==========[KILL]========== [impudent child] was killed by [Buster] with [ls_sniper] ==========[KILL]========== [Nikita6500] was killed by [Buster] with [ls_sniper] ==========[KILL]========== [Piro™] was killed by [Buster] with [ls_sniper] ==========[KILL]========== [SH1FT] was killed by [Buster] with [ls_sniper] [/quote]
Should've just used [lua]if ply:IsAdmin() then ... code ... end [/lua] and [lua]ply:PrintMessage()[/lua] More efficient Since you're not using a concommand it's on a hook so everyone is a player to the server.
Sorry, you need to Log In to post a reply to this thread.