ads_disable

Switch off in game ads.

Syntax:

GML Code Example

ads_disable(num)


Argument Description
num The advert "slot" to disable (0 - 4).


Returns: N/A


Description

This function switches off the in-game ads for the given "slot" (as defined in the Global Game Settings - Advertising Tab), so that they are no longer displayed.


Example:

GML Code Example

if purchased
    {
    ads_disable(0);
    }
 

The above code switches off in game ads for "slot" 0 if the variable "purchased" returns true.





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