addEventHandler("onClientMarkerHit",root,
function()
if source == m1 then
destroyElement(m1)
elseif source == m2 then
destroyElement(m2)
elseif source == m3 then
destroyElement(m3)
elseif source == m4 then
destroyElement(m4)
givePlayerMoney ( 1000 )
addEventHandler("onClientRender",root,Suma)
function Suma()
dxDrawText("Vuelo Completado!.\n+$1000\n+1 De Respeto!.\n+1 Nivel!.", 722, 416, 1208, 598, tocolor(245, 255, 0, 255), 1.50, "bankgothic", "left", "top", false, false, true, false, false)
end
setTimer (
function ( )
removeEventHandler ( "onClientRender", getRootElement(), Suma )
end
,7000, 1
)
end
end)
Te faltó agregar el evento y renderizar; addEventHandler("onClientRender",root,Suma)