• ply:SetDTInt/Bool
    4 replies, posted
I understand that Garry has created a new var method, is this confirmed to be more 'efficient' than NWInt's? What are the good and bad effects? I can't find anything on the Wiki. [lua] ply:SetDTInt( "Cool", 1 ) [/lua] [lua] print( "Cool: " .. LocalPlayer():GetDTInt( "Cool" ) ) [/lua]
Give the wiki some time to adjust. :smile: And I guess the best explanation I could give you is Garry's own : [url]http://www.garry.tv/?p=1198[/url]
It's pretty much hard-coded NWVars that don't rely on the usermessage system, in a nutshell. So they update instantly instead of waiting in line with other messages.
So, they're basicly more better than NWInts and it'd stop the buffer overflows?
More responsive.
Sorry, you need to Log In to post a reply to this thread.