ads_disable(num)
Argument | Description |
---|---|
num | The advert "slot" to disable (0 - 4). |
Returns: N/A
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.
if purchased
{
ads_disable(0);
}
The above code switches off in game ads for "slot" 0 if the variable "purchased" returns true.