Need help with server trigger

Hello,

So im currently trying to find a way to give people money once they have completed a job using essentialmode. I have setup (or tried at least) a server trigger that looks like this

playerMoney = GetPlayerIdentifiers(source)

RegisterServerEvent('es:addPlayerMoney')
AddEventHandler('es:addPlayerMoney' , function(mon)
	TriggerEvent('es:setPlayerData', playerMoney, "money", mon , function(message, success)
	
		TriggerEvent('es:activateMoney', mon)
		
		
		if(success)then
			TriggerClientEvent('chatMessage', source, "SYSTEM", {255, 0, 0}, "Account successfully given ^1$" .. m )
		end	
	
	end)
end)

when I complete the test mission i get this error on console

Hopefully im not making a really dumb mistake with this.

Any help will be much appreciated