Config = {}
Config.Locale = 'en'
Config.useQBCore = true
Config.WaitBeforeWhitelistCheck = 5000 -- this time is needed to wait that everything is loaded on client side. After that period of time the whitelist check will be executed
Config.EventsThatShouldTriggerAfterSuccessfulWhitelist = { -- you can add here as many events you want. The event receiver get always as first parameter the source of the white listed player
{
sendTo = 'client', -- Value can be client or server
name = 'exampleClientEventName', -- The event name
active = false, -- enable or disable sending values are true or false
},
{
sendTo = 'server', -- Value can be client or server
name = 'exampleServerEventName', -- The event name
active = false, -- enable or disable sending values are true or false
},
}
Config.EventsThatShouldTriggerAfterConnectionWhenPlayerWasAlreadyWhitelisted = { -- you can add here as many events you want. The event receiver get always as first parameter the source of the white listed player
{
sendTo = 'client', -- Value can be client or server
name = 'exampleClientEventName', -- The event name
This file has been truncated. show original