Skip to content

Instantly share code, notes, and snippets.

@deanPGM
Created February 28, 2013 20:09
Show Gist options
  • Save deanPGM/5059696 to your computer and use it in GitHub Desktop.
Save deanPGM/5059696 to your computer and use it in GitHub Desktop.
function requestCallback( event )
end
function setHighscoreGC(category, scoreGC)
print (category, scoreGC)
-- loggedIntoGC must be true
loggedIntoGC = true
if loggedIntoGC then gameNetwork.request( "setHighScore", {localPlayerScore={ category= category, value=scoreGC }, listener=requestCallback } ); end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment