Skip to content
Nexius edited this page Sep 20, 2022 · 27 revisions

Reference

More information can be found in the SA-MP forum thread.

Instructions

  • Create a directory called plugins inside of the server directory if one does not already exist.
  • Place the plugin file (YSF.dll or YSF.so) inside of the directory that was just created.
  • Add the following line to server.cfg so that the plugin will load the next time the server starts:
  • plugins YSF.dll (Windows)
  • plugins YSF.so (Linux)
  • On Windows, add YSF.inc to the pawno\include folder.
  • Add the following line to any of the scripts the server is running:
  • #include <YSF>
  • Note that the Windows version requires the Microsoft Visual C++ 2015 Redistributable Package (x86).

Compilation

Windows

Open the solution file (YSF.sln) in Microsoft Visual Studio 2015 (or higher). Build the project.

Linux

Install the GNU Compiler Collection and GNU Make. Type make in the top directory to compile the source code.