πŸͺ›Custom App

Making a special application for Gksphone v2

Adding the app

To add the app, use the AddCustomApp export.

circle-info

You can access the custom app template on githubarrow-up-right and start making the app you want.

Open App

Add this client and this will be triggered every time you enter the application.

RegisterNUICallback('getInfo', function(data, cb)
    print("The function that will run when it enters the application")
    cb('ok')
end)

Exports - Client

InputChange

To prevent walking while filling in input fields

local data = true -- true or false
exports["gksphone"]:InputChange(data)
<input type="text" onfocus="inputFocused(false)" onblur="inputFocused(true)">

<script>
   async function inputFocused(value) {
       //await NuiFetch("input", value);
   }
</script>

NuiSendMessage

You have to use this export instead of SendNUIMessage

Exports - Server - Client

CustomApp

Javascript UI

Dark Mode Check

Loading Poup

Notify

Call

Video Call

Camera Open

Image or Video Viewer

Emoji Poup Open

setStatusBarColor

Last updated