title: Getting an error parsing > @esx_AdvancedFishing/server.lua:7: ')' expected near ','
body: <p>Pretty new to lua, and not sure what the issue is... Any ideas?</p>
  <p><a href="https://i.stack.imgur.com/lDe4o.png" rel="nofollow noreferrer">Error in question</a></p>
  <p>The lua code:</p>
  <pre><code>ESX.RegisterUsableItem('turtlebait', function(source)
      local xPlayer = ESX.GetPlayerFromId(source)
      if xPlayer.getInventoryItem('fishingrod').count &gt; 0 then
          TriggerClientEvent('fishing:setbait', (source, &quot;turtle&quot;)
          xPlayer.removeInventoryItem('turtlebait', 1)
          TriggerClientEvent('fishing:message', (source, &quot;You attach the ~y~turtle bait~s~ onto your fishing rod&quot;)
      else
          TriggerClientEvent('fishing:message', (source, &quot;~r~You don't have a fishing rod&quot;)
      end
  end)
  </code></pre>
  <p>Line 7: TriggerClientEvent('fishing:setbait', (source, &quot;turtle&quot;)</p>