Gamemode salary

Hey, i am having some problems can someone tell me why this isn’t working:
The problem is i don’t get any money.


 Salary.lua:
local jobUpdateTime = 10
local jobSalary = {}

function AddJobSalary( team, time, amount )
    jobSalary[team] = { time, amount }
end

timer.Create( "SalaryTimer", jobUpdateTime, 0, function()
    for _, ply in pairs(player.GetAll()) do
             ply:AddMoney(jobSalary[ply:Team()][2]))
    end
end )

hook.Add("PlayerAuthed", "SalaryGiveHook", function( ply )
	
end)

// How to add jobs, first arg is team, second arg is time to wait for payout, third arg is amount of cash after payout.

AddJobSalary( 1, 10, 100 )
AddJobSalary( 2, 10, 110 ) 
AddJobSalary( 3, 10, 120 ) 
AddJobSalary( 4, 10, 130 ) 
AddJobSalary( 5, 10, 140 ) 
AddJobSalary( 6, 10, 150 ) 
AddJobSalary( 7, 10, 160 ) 
AddJobSalary( 8, 10, 170 ) 
AddJobSalary( 9, 10, 180 ) 
AddJobSalary( 10, 10, 190 ) 


[LUA] Money.lua:
local meta = FindMetaTable(“Player”) --Get the meta table of Player

function meta:AddMoney(amount)
local current_cash = self:GetMoney()
self:SetMoney( current_cash + amount )
end

function meta:SetMoney(amount)
self:SetNetworkedInt( “Money”, amount )
self:SaveMoney()
end

function meta:SaveMoney()
local cash = self:GetMoney()
self:SetPData(“money”, cash)
end

function meta:SaveMoneyTXT()
file.Write(gmod.GetGamemode().Name …"/Money/"… string.gsub(self:SteamID(),":", “_”) …".txt", self:GetMoney())
end

function meta:TakeMoney(amount)
–Add money function here
self:AddMoney(-amount)
end

function meta:GetMoney()
return self:GetNetworkedInt( “Money” )
end
[/LUA]

My init.lua has this code in it:

include(“money.lua”)
AddCSLuaFile(“money.lua”)

how do you know you have no money?

with a command that checks my money with ply:GetMoney()