[help] Noob question "how can i pass a var from server to client"

ok ill give that a shot

Hmm nope that makes it throw a native error should there be a space?
Server

RegisterServerEvent(‘esx_crafting:check’)
AddEventHandler(‘esx_crafting:check’, function()
local xPlayer = ESX.GetPlayerFromId(source)
local _source = source
local BarrelQuantity = xPlayer.getInventoryItem(‘barrel_pooch’).count
local FrameQuantity = xPlayer.getInventoryItem(‘frame’).count
local StockQuantity = xPlayer.getInventoryItem(‘stock’).count

if BarrelQuantity ~= 0 then
    if FrameQuantity ~= 0 then
        if StockQuantity ~= 0 then
            has = true
            TriggerClientEvent("esx_crafting:pass", serverID, has)

            PlayersTransformingCombine[_source] = true

            TriggerClientEvent('esx:showNotification', _source, _U('rifling_combine'))

            TransformCombine(_source)
        else
            has = false
        end
    end
end

end)

Client.lua

RegisterNetEvent(‘esx_crafting:pass’)
AddEventHandler(‘esx_crafting:pass’, function(has)
hasS = has
end)

then i have

if hasS == true then

have any clue whats wrong with that
?