ex.lua

file

General

As some of the functions in the server require information from the client, callbacks can be created here, for example. By default, a callback is registered which checks whether the phone's flight mode "lb-phone" is activated.

You can add your own cell phone here. Please note that the callback must still be uncommented in the server function isReachable.

Default Sourcecode

lib.callback.register('handyortung:client:isInAirplaneMode', function()
    return exports["lb-phone"]:GetAirplaneMode()
end)

Last updated