-
-
Notifications
You must be signed in to change notification settings - Fork 38
Troubleshooting
NeekoGta edited this page Jun 17, 2026
·
1 revision
Check:
- resource exists under
scriptfiles/cef/<resource>/ -
CEF_AddResource("<resource>")is called - URL uses
http://cef/<resource>/<file> - file path and case match
- resource was repackaged/revalidated after changes
Your frontend build probably uses absolute asset paths.
For Vite:
export default defineConfig({
base: "./",
});Then rebuild and copy dist/ to your CEF resource directory.
Check:
- page is not fully transparent
- browser is visible with
CEF_SetBrowserVisible(..., true) - correct browser ID is used
- viewport size is valid
- for WorldObject3D, browser is attached to an object
- texture name matches the model texture
The browser ID is already active for that player.
Fix:
- use a different ID
- call
CEF_DestroyBrowserfirst - wait before recreating
Possible causes:
- client plugin missing
- client plugin blocked by antivirus
- CEF UDP port blocked
- server/client version mismatch
- wrong IP/endpoint
- server firewall or provider firewall
Check:
- object exists for the player
-
CEF_CreateWorldBrowsersucceeded -
CEF_AttachBrowserToObjectis called after creation - texture name is correct
- width/height are reasonable
- object model actually contains the target texture
Enable DevTools for a browser:
CEF_EnableDevTools(playerid, browserid, true);Use it to inspect:
- console errors
- missing resources
- JS exceptions
- failed network requests
CEF Plugin — Client & Server for SA-MP / open.mp
Issues & PRs welcome.