Hey I wrote a code for my server I know it works however I it isn’t running the script on a players death.
How would I go about adding it to a server
Here’s the plugin its for: https://github.com/adamdburton/pointshop
if SERVER then function GM:PlayerDeath(victim, inflictor, attacker) if victim == attacker then PrintMessage( HUD_PRINTTALK, victim:Name() .. " committed suicide." ) else PrintMessage( HUD_PRINTTALK, victim:Name() .. " was killed by " .. attacker:Name() .. "." ) attacker:PS_GivePoints(75) attacker:PS_Notify("You have earned 75 points for killing " .. victim:Name()) end end end