HolyLib Wiki

SetMaxEntries

  INetworkStringTable:SetMaxEntries( number maxStrings )

Description

Sets the entry/string limit to the given number.

Raising this will causes issues in some cases where the limit is hardcoded clientside.
Stringtables that this shouldn't be used on:
modelprecache -> Limited by CClientState::model_precache
genericprecache -> Limited by CClientState::generic_precache
soundprecache -> Limited by CClientState::sound_precache
decalprecache -> Limited by CClientState::decal_precache
networkvars -> Limited by the internal net messages gmod uses. (Mainly NW2's networking)

Arguments

1number maxStrings
The new max string limit. This needs to be to the power of 2!