obsidiannovels
Member
Hello!
I have an old script for handling IAP's and Google ads that worked well in GM:S1. The script worked with both Google Play and App Store.
I now need this to work for GM:S2 as well.
Since most of the commands are not working anymore, I need help to make it compatible.
You'll be paid for your work, through PayPal.
The IAP's are handled via ds_lists:
I have an old script for handling IAP's and Google ads that worked well in GM:S1. The script worked with both Google Play and App Store.
I now need this to work for GM:S2 as well.
Since most of the commands are not working anymore, I need help to make it compatible.
You'll be paid for your work, through PayPal.
The IAP's are handled via ds_lists:
GML:
var purchaseList;
purchaseList = ds_list_create();
purchase0 = ds_map_create();
ds_map_add(purchase0, "id", "1000skinz"); //1000skinz
ds_map_add(purchase0, "title", "Ad Removal");
ds_map_add(purchase0, "description", "Remove all ads from game");
ds_map_add(purchase0, "type", "Durable");
ds_list_add(purchaseList, purchase0);
purchase1 = ds_map_create();
ds_map_add(purchase1, "id", "dalmatin");
ds_map_add(purchase1, "title", "Dalmatin");
ds_map_add(purchase1, "description", "7 dalmatins for the price of one!");
ds_map_add(purchase1, "type", "Durable");
ds_list_add(purchaseList, purchase1);
purchase2 = ds_map_create();
ds_map_add(purchase2, "id", "wolf");
ds_map_add(purchase2, "title", "Wolves");
ds_map_add(purchase2, "description", "7 wolves for the price of one!");
ds_map_add(purchase2, "type", "Durable");
ds_list_add(purchaseList, purchase2);
purchase3 = ds_map_create();
ds_map_add(purchase3, "id", "doberman");
ds_map_add(purchase3, "title", "Dobermans");
ds_map_add(purchase3, "description", "7 dobermans for the price of one!");
ds_map_add(purchase3, "type", "Durable");
ds_list_add(purchaseList, purchase3);
purchase4 = ds_map_create();
ds_map_add(purchase4, "id", "collie");
ds_map_add(purchase4, "title", "Collies");
ds_map_add(purchase4, "description", "7 rough collies for the price of one!");
ds_map_add(purchase4, "type", "Durable");
ds_list_add(purchaseList, purchase4);
purchase5 = ds_map_create();
ds_map_add(purchase5, "id", "robo");
ds_map_add(purchase5, "title", "Robodogs");
ds_map_add(purchase5, "description", "7 robo-dogs for the price of one!");
ds_map_add(purchase5, "type", "Durable");
ds_list_add(purchaseList, purchase5);
purchase6 = ds_map_create();
ds_map_add(purchase6, "id", "shepherd");
ds_map_add(purchase6, "title", "gms");
ds_map_add(purchase6, "description", "7 german shepherds for the price of one!");
ds_map_add(purchase6, "type", "Durable");
ds_list_add(purchaseList, purchase6);
iap_activate(purchaseList);