mirror of
https://github.com/Mauler125/r5sdk.git
synced 2025-02-09 19:15:03 +01:00
Initialize the script register callbacks
This commit is contained in:
parent
e33b566f88
commit
3637af34f6
@ -193,6 +193,16 @@ void Systems_Init()
|
||||
DevMsg(eDLL_T::NONE, "\n");
|
||||
|
||||
ConVar_StaticInit();
|
||||
|
||||
// Script context registration callbacks.
|
||||
#ifndef CLIENT_DLL
|
||||
ServerScriptRegister_Callback = Script_RegisterServerFunctions;
|
||||
#endif // !CLIENT_DLL
|
||||
|
||||
#ifndef SERVER_DLL
|
||||
ClientScriptRegister_Callback = Script_RegisterClientFunctions;
|
||||
UiScriptRegister_Callback = Script_RegisterUIFunctions;
|
||||
#endif // !SERVER_DLL
|
||||
}
|
||||
|
||||
//////////////////////////////////////////////////////////////////////////
|
||||
|
Loading…
x
Reference in New Issue
Block a user