shaircast And it will be with this id that I will use the command to open the leaderboard and to send data to it?
Thanks for the quick response!
define a global constant or variable with text example: leader="fase7r934resr" (the id of the leaderboard in google)
make a condition to check if the user is logged and submit score:
if login succeed = set userloggedvar = 1
if long failed = set userloggedvar = 0
Example:
if userloggedvar=1 - submit score of highscore to the leaderboard id leader
Achievements:
if userloggedvar=1 - submit achievement (in the achievement cocoon js pop up introduce the qWAERasdas id); set achieve1=1;
achieve1=0
On achievements be sure to trigger them once with a var and change that, otherwise it will submit continuously.