Serverside CSharp FAQ: Difference between revisions
No edit summary |
No edit summary |
||
| Line 4: | Line 4: | ||
{{FAQContainer| | {{FAQContainer| | ||
ParameterCountMismatchException| | ParameterCountMismatchException| | ||
This is due to a mismatch between either one of your '''bridge.dll''', '''runtime/bootstrapper.dll''' or '''bootstrapper.dll/nuget gtanetwork api'''.}} | This is due to a mismatch between either one of your '''bridge.dll''', '''runtime/bootstrapper.dll''' or '''bootstrapper.dll/nuget gtanetwork api'''. To resolve this, ensure you are using the latest version of each, and make sure your code is being compiled with the same bootstrapper.dll as in your server runtime files.}} | ||
Revision as of 21:27, 14 December 2018
ParameterCountMismatchException
This is due to a mismatch between either one of your bridge.dll, runtime/bootstrapper.dll or bootstrapper.dll/nuget gtanetwork api. To resolve this, ensure you are using the latest version of each, and make sure your code is being compiled with the same bootstrapper.dll as in your server runtime files.
OnPlayerConnect event does not get called
This issue occurs when you do not reference the correct version of bootstrapper.dll. It is recommended to reference %RAGEMP Directory%\server-files\bridge\runtime\Bootstrapper.dll