Home
Reference
More information can be found in the SA-MP forum thread.
Instructions
- Create a directory called
pluginsinside of the server directory if one does not already exist. - Place the plugin file (
YSF.dllorYSF.so) inside of the directory that was just created. - Add the following line to
server.cfgso that the plugin will load the next time the server starts: -
plugins YSF.dll(Windows) -
plugins YSF.so(Linux) - On Windows, add
YSF.incto thepawno\includefolder. - 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.