the point system is another story, you need to add an addon called pointshop. adding models will be whole other topic for you to learn but lets stick with the pointshop... once you get the addon you can configure it in sh_config.lua file, call the points coins if you want. assort items eiher by name or price, all kinds of thngs. NOW if you are trying to add points for taunting you need a specific script that needs to go in your pointshop>lua>autorun and call it sv_taunt.lua.
Taunting for points Script.
sv_taunt.lualocal KeyToHook = {
F1 = "ShowHelp",
F2 = "ShowTeam",
F3 = "ShowSpare1",
F4 = "ShowSpare2",
None = "ThisHookDoesNotExist"
}
hook.Add(KeyToHook['F3'], "PS_Taunt", function(ply)
if GAMEMODE:InRound() && ply:Alive() && (ply:Team() == TEAM_HUNTERS || ply:Team() == TEAM_PROPS) && ply.last_taunt_time + 5 <= CurTime() then -- make sure the CurTime matches the permitted taunt delay time.
if ply:Team() == TEAM_HUNTERS then
ply:PS_Notify("Nice taunt!")
else
ply:PS_GivePoints(5) -- how many points for taunting? Default: 5
ply:PS_Notify("You've been given 5 ", PS.Config.PointsName, " for taunting!") -- this is the message the player gets.
end
end
end)
you can change the code ply:PS_GivePoints(5) to another number to give more or less points. the code is universal so if your trying to learn lua pointshop will always run that code if you want to make any action give a player points.
that should take care of your pointsystem, as for add-ons you need to put them in an addons folder titled "addons" not "add-ons" if that's what you did. a lot of your server content will go in that folder so try to keep it organized. addons need to install so do a server restart when placing a new addon in the server.
I know how to add custom taunts, but my server is sentient and I am at its mercy, but you should go to garrysmod>gamemodes>(select your gamemode)> content>sound>taunts and place your soundfiles there, forcedownload them by going to garrysmod>lua>server>ForceDownload.lua and typing resource.AddFile("content/sound/taunts/example.wav") -- taunt example
the -- taunt example is just to organize it. do not remove the -- or your going to have a bad day. now then, you should learn how to fast dl that's too in depth for me to explain here, you don't Have to but it helps.
I would have to see your player.lua file to find out why that doesn't work, perhaps addin a new gamemode file of the same game mode but a different source will fix the E issue.
side note
NEVER UNDER ANY CIRCUMSTANCES USE TEAMVIEWER WITH A STRANGER UNLESS YOU ARE WILLING TO TRUST THEM AND FULLY UNDERSTAND THEIR INTENT, NEVER ALLOW THEM ACCESS WITHOUT YOUR SUPERVISION AND IF YOU SUSPECT ANYTHING TERMINATE THE CONNECTION IMMEDIATLY AND CLOSE TEAMVIEWER.