Hello,
I’m beginner in Lua. I would like to use this code to send high scores to server.
local function networkListener( event ) if ( event.isError ) then print( "Network error!") else print ( "RESPONSE: " .. event.response ) end end network.request( "http://samplesite.com/addscore.php?name="Joe"&score=100", "POST", networkListener, params)
I don’t know, How can I use variable name and score in http parameters. Please, help me.
Thanks in advance