Hello,
I'm just going to create a mod downloader. I want to display a download drawen. I get the getLatentEventHandles always return a false, although a latent trigger event client is running.
function renderDownload()
handle = getLatentEventHandles()[#getLatentEventHandles()]
local status = getLatentEventStatus(handle)
if not status then
removeEventHandler("onClientRender",getRootElement(),renderDownload)
end
dxDrawText(moddownload.." wird heruntergeladen ["..tostring(status.percentComplete).."%]", px*767, py*894, px*1138, py*934, tocolor(0, 0, 0, 255), 1.00, "pricedown", "center", "bottom", true, false, true, false, false)
dxDrawText(moddownload.." wird heruntergeladen ["..tostring(status.percentComplete).."%]", px*766, py*893, px*1137, py*933, tocolor(125, 2, 2, 255), 1.00, "pricedown", "center", "bottom", true, false, true, false, false)
end
Regards,
Soner