Integrações
Integrations
All third-party integrations live under Config.Integrations and are off by default, so the script works standalone out of the box. Enable only what your server actually uses.
Config.Integrations = {
AnticheatBypass = {
Enabled = false,
Event = 'vera-fg:bypass',
},
PedScale = {
Enabled = false,
Resource = 'tgiann-ped-scale',
PauseExport = 'PauseLocalScale',
ResumeExport = 'ResumeLocalScale',
},
}Anticheat bypass
Because the tool freezes the ped and moves it around, movement-based anticheats can flag it as teleporting or noclip. When enabled, the script triggers a server event with a boolean state — true when positioning starts and false when it ends (confirm or cancel) — so your anticheat can whitelist the player during that window.
Enabled— ativa a integração.Event— the server event name your anticheat listens on. The defaultvera-fg:bypassis an example; set it to whatever your anticheat expects.
O evento é disparado com true ao iniciar e false ao terminar. Certifique-se de que o manipulador do seu anticheat reative a proteção na chamada false para que a janela de bypass seja fechada corretamente.
Ped scale
If you run a ped-scaling resource (for realistic heights), the scaled size can throw off precise positioning. When enabled, the script pauses ped scaling while positioning is active — so the character returns to its normal size — then resumes it on confirm or cancel.
Enabled— ativa a integração.Resource— the ped-scale resource name (defaulttgiann-ped-scale).PauseExport— the export called to pause local scaling (defaultPauseLocalScale).ResumeExport— the export called to resume it (defaultResumeLocalScale).
The resume is also called on cleanup (resource stop), so scaling is never left paused if the resource restarts mid-use. The integration only fires when the configured resource is actually started, so a misconfigured name will not error.