Hey Guys I am coding a Prop Killing Notifier where it sends a Dark RP Notification to a admin that a player has prop killed. The Problem is I can not seem to getting it to work this is my first time really trying to make something up on the spot and I need a bit of help on what to use. Here is my code.
local function PlayerPickupObject( ply, obj, victim, attacker ) if( obj:IsPlayerHolding() == victim:IsPlayer for k, v in pairs player.GetAll() v:DarkRPnotify( ply, 1, 4, "Player"..attacker:Nick.."has Prop Killed their ID is:"..attacker:SteamID) end end
Thanks for the help!