Jump to content

Leaderboard

Popular Content

Showing content with the highest reputation on 18/08/23 in all areas

  1. As far as I understand from reading the wiki, it creates a GUI element. This means that you are to treat it as any other GUI element, not like dx functions. Basically, there's no need to render it yourself using onClientRender -> the resource does that for you. So, what your code does is that it's creating a new GUI element on every render, that's why you're not able to destroy it. You're only storing the latest instance of that GUI element inside of the blur variable.
    1 point
  2. local sx, sy = guiGetScreenSize() exports.blur_box:createBlurBox( 0, 0, sx, sy, 255, 255, 255, 255, false )
    1 point
×
×
  • Create New...