Im using the Think() hook in my one derma panel and i was wondering if it had any side effects like lag or buffer overflow
Buffer overflows are usually caused by a lot of networked stuff, it really depends what your Think is doing? Post code?
local myLabel0= vgui.Create("DLabel", DermaList) function myLabel0:Think() self:SetText("You have ".. LocalPlayer():GetNWInt( "skillPoints" ) .." Skill Points Remaining") self:SizeToContents() end DermaList:AddItem( myLabel0 )
Improvable but you wouldn’t see much difference