[FREE] Pickle's Television Script (TV's) | Watch Videos, Broadcast, and more!

The problem has nothing to do with ESXi. There is zero correlation. The error originates from a FiveM client script (Lua), specifically from ptelevision and the FiveM DUI browser API. Anyone suspecting ESXi here is looking in the wrong universe.

Short help / quick fix:

  • This is a client-side Lua error in FiveM, not a host or VM issue.
  • A DUI handle is invalid because it was never created, was already destroyed, or is accessed too early.
  • Ensure CreateDui() succeeds before calling IsDuiAvailable().
  • Do not call DestroyDui() before the browser is fully initialized.
  • Add a short wait or a state check before PlayBrowser() runs.
  • Update ptelevision to the latest version and verify compatibility with your FiveM build.
  • If already up to date, clear the FiveM client cache and retest.
  • Check the ptelevision GitHub issues; this bug is common and documented.
    That’s it.

i cant spawn the tv

I am trying to use this and everything works but the menu to add the url does not come up

error in console
@ptelevision/client/tv.lua:87: attempt to index a nil value (global ‘lib’)^7
^3>

Please make sure ox_lib is installed and started before pickle televisions - thanks!

PLA violation

[ptelevision] Changelog / Fixes

  • Fix: Replaced PlayerPedId() with cache.ped
  • Fix: Replaced LoadModel(...) with lib.requestModel(...)
  • Fix: Replaced loadScaleform(...) with lib.requestScaleformMovie(...)
  • Fix: Corrected NUI callback pageLoaded
  • Fix: Secured TV control interaction
  • Fix: Corrected menu syntax errors
  • Fix: Improved cursor/DUI interaction stability
  • Fix: Checked and corrected right-click handling in cursor.lua
  • Feature: Implemented generic_texture_renderer.gfx
  • Feature: Added new menu option Turn off TV
  • Feature: Prepared TV status off
  • Feature: Added external TV menu opening
  • Feature: Opening from server is now possible
  • Feature: Prepared support for the item tvremote
  • UI: Notifications adjusted to match the existing project style

Some smaller helper texts are still in German.

ptelevision.zip (45.2 KB)