winphone_license_trial_version

Return the state of the Trial Play for your Windows Phone game.

Syntax:

GML Code Example

winphone_license_trial_version();


Returns: Boolean


Description

This function will return true if your game is currently in Trial Play, or false if it is not. You can use this function to block features or limit game-play while your game is on trial by the user.


Example:

GML Code Example

if winphone_license_trial_version()
    {
    global.Level_Max = 20;
    }
 else
    {
    global.Level_max = 100;
    }
 

The above code will check the status of your game and if it is on trial Play it will set the global variable "level_Max" to 20, otherwise it will be set to 100.





No Examples Submitted

Does this page need better examples? Be the first to Submit

No Edits Suggested

Is this page unclear or not descriptive enough? Suggest an edit to the page and with enough upvotes your changes will be made.

No Questions Have Been Ask

Do you have a question about this page? Ask it Here