Jump to content

the image does not appear.


Speak

Recommended Posts

The problem is that he's using 'source' in triggerClientEvent ( if I'm right ).

function startImageDownload ( ) 
    fetchRemote ( "http://www.xn--fischspezialitten-knobloch-thc.de/wp-content/uploads/2010/05/ice.png", myCallback, "", false ) 
    outputChatBox ( "oi" ) 
end 
addEventHandler ( "onResourceStart", root, startImageDownload ) 
  
function myCallback ( responseData, errno ) 
    if ( errno == 0 ) then 
        triggerClientEvent ( root, "onClientGotImage", root, responseData ) 
    end 
end 

Try it.

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...