-
Notifications
You must be signed in to change notification settings - Fork 32
Home
Nexius edited this page Sep 20, 2022
·
27 revisions
More information can be found in the SA-MP forum thread.
- Create a directory called
plugins
inside of the server directory if one does not already exist. - Place the plugin file (
YSF.dll
orYSF.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 thepawno\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).
Open the solution file (YSF.sln
) in Microsoft Visual Studio 2015 (or higher). Build the project.
Install the GNU Compiler Collection and GNU Make. Type make
in the top directory to compile the source code.
- Home
-
Natives
- Execute
- File functions
- Directory functions
- Max player/npc change at runtime
- Filterscript functions
- Server rule modifications
- Server settings
- Player position sync bounds
- Modifying RCON commands
- Per AMX function calling
- Broadcasting console messages
- YSF Settings
- Nickname
- Classes
- Timers
- Per player functions
- Actors
- Scoreboard manipulation
- Pause functions
- Objects get - global
- Objects get - player
- Special for attached objects
- RakNet ban functions
- RakNet
- Exclusive RPC broadcast
- Vehicle functions
- Gangzones - Global
- Gangzones - Player
- Textdraws - Global
- Textdraws - Player
- 3DTexts - Global
- 3DTexts - Player
- Menu
- Pickups - Global
- Y_Less's model sizes inc
- Developer functions
- Formatting
- Callbacks
- Definitions
- Enumerators
- YSF.cfg