Last updated
Last updated
This function will be called when someone opens your app
This function will be called when someone closes your app or switch weapon
Return false to hide the app
This function will be called when someone puts the phone horizontally. Parameters are the same as Open
If this function is available, the player will be able to put his phone horizontal in your app. Else, he can't.
Parameters
Purposes
main
This is the panel you need to parent everything on. You can paint it.
main_x
Wide of the main
main_h
Height of the main
There are the most useful functions you will use in the apps.