Welcome guest. Please Login or Sign in.

Entry your username and password

DONATE


Help us to keep this site alive

gmda_setController

< Back to Guide


Syntax:

gmda_setController(Game Id, Game key)


Argument Description
Game Id Id of the game(It is set on the games panel in the website)
Game key Key of the game(It is set on the games panel in the website)

Return: 1



Description:

This function configures the basic information to connect to the server.


Example:

//Create Event (Gamdata Controller) gmda_setController("Gameexample7w51ozhktgrnWkVHcB9","Mkomm4nwwUtpTNRRC8em7fTKYGL1AasNQgF91Z"); gmda_setLeaderboard("P165jRqN3uNR2O8zAsN");

You have to place this function into the create event of the controller object.



< Back to Guide

IMPROVE





gamdato (2021)       -       gamdatoservices@gamdato.com       -       Terms & Conditions