you don't name functions if used inside addEventHandler...
It would be like this then:
function ( url, id )
fetchRemote(
url,
function ( datas, errno, player, url )
triggerClientEvent( player, "onClientGotImageResponse", player, url, datas, errno )
end,
"",
false,
client,
url
)
end
)
Please use lua tags.
Btw. the way you wrote it, everything on a new line is just horrible... but if you like it..