SideOnlyPreprocessor
Link to sideonlypreprocessor
The preprocessor can set what side the scripts are loaded.
Вызов
Link to вызов
It can be used as follows:
#sideonly sidename
Example: #sideonly client
or #sideonly server
Что он делает
Link to что-он-делает
This will make scripts only load when the execution side is the specified side of the network. Leaving the loader out will cause the script to load on both sides (the default).