kalzme
Member
I've followed the instructions here (written by @Nocturne) to add a simple extension but so far I haven't been able to call the methods in the extension successfully. I've tried several things but all of the methods always return undefined. Is there something I missed or is the tutorial no longer up to date with the latest verions of GM:S?
So to recap, here are the steps I did:
So to recap, here are the steps I did:
- In GM:S select Create Extension and give it a name
- Select Android, click next
- Enter the ClassName (GenericTest)
- Right click the newly created extension, select Add Android Source and select the folder of the javascript file
- Right click the extension again, select Add Placeholder > Add Generic
- Right click the .ext file that was created under the extension, select Properties, deselect everything except Android and Android YYC
- Right click the .ext file and select Add Function
- Enter the correct function data