Awesome
SA-MP+
A client modification that uses SA-MP's plugin SDK to interact with the server and add new features
Download
####Windows:
####Linux:
Installation (Client)
- Download and run the Installer
Alternatively:
- Download and install an ASI Loader for GTA San Andreas if you don't have one,
- Place the sampp_client.asi file in your GTA:SA's folder, along with gta_sa.exe.
Installation (Server)
- Download the Windows or Linux server plugin.
- Place the file in the plugins folder of your server.
- Add the plugin to your server's server.cfg.
Functions
- ToggleHUDComponentForPlayer(playerid, componentid, bool:toggle);
- SetRadioStationForPlayer(playerid, stationid);
- SetWaveHeightForPlayer(playerid, Float:height);
- SetWaveHeightForAll(Float:height);
- TogglePauseMenuAbility(playerid, bool:toggle);
- IsPlayerInPauseMenu(playerid);
- SetPlayerHUDComponentColour(playerid, componentid, colour);
- TogglePlayerAction(playerid, actionid, bool:toggle);
- SetPlayerNoReload(playerid, bool:toggle);
- GetPlayerResolution(playerid, &width, &height);
- SetPlayerBlurIntensity(playerid, intensity);
- SetPlayerGameSpeed(playerid, Float:speed);
- TogglePlayerDriveOnWater(playerid, bool:toggle);
- TogglePlayerFrozen(playerid, bool:toggle);
- SetPlayerPedAnims(playerid, bool:toggle);
- TogglePlayerSwitchReload(playerid, bool:toggle);
- TogglePlayerInfiniteRun(playerid, bool:toggle);
- SetPlayerAircraftHeight(playerid, Float:height);
- Float:GetPlayerAircraftHeight(playerid);
- SetPlayerJetpackHeight(playerid, Float:height);
- Float:GetPlayerJetpackHeight(playerid);
- bool:IsUsingSAMPP(playerid);
- SetPlayerRaceCheckpointEx(playerid, type, Float:x, Float:y, Float:z, Float:point_x, Float:point_y, Float:point_z, Float:size, colour = 0xFF000020, period = 1024, Float:pulse = 0.1, rotation_rate = 0);
- SetPlayerCheckpointColour(playerid, colour)
- SetPlayerRaceCheckpointColour(playerid, colour)
- TogglePlayerVehicleBlips(playerid, bool:toggle)
- GetPlayerVehicleBlips(playerid)
- GetPlayerRadioStation(playerid)
- TogglePlayerInfiniteOxygen(playerid, bool:toggle)
- ToggleWaterBuoyancy(playerid, bool:toggle)
- ToggleUnderwaterEffect(playerid, bool:toggle)
- ToggleNightVision(playerid, bool:toggle)
- ToggleThermalVision(playerid, bool:toggle)
####Callbacks:
- OnPlayerOpenPauseMenu(playerid)
- OnPlayerClosePauseMenu(playerid)
- OnPlayerEnterPauseSubmenu(playerid, from, to)
- OnDriverDriveByShot(playerid)
- OnPlayerStunt(playerid, stuntid, money, details[])
- OnPlayerResolutionChange(playerid, width, height)
- OnPlayerClick(playerid, type, X, Y)
- OnPlayerChangeRadioStation(playerid, stationid, vehicleid)
- OnPlayerDrinkSprunk(playerid)
####Experimental/Unstable:
- SetPlayerCheckpointEx(playerid, Float:x, Float:y, Float:z, Float:size, colour = 0xFF000020, period = 1024, Float:pulse = 0.1, rotation_rate = 0, bool:check_z = true);
Compilation
####Windows:
- Open the provided solution file (.sln) in Visual Studio.
- Make sure to change the target to "Release" unless you want a build with debug symbols.
####Linux:
- Open a terminal and use the following commands:
cd Build
mkdir Temp
cd Temp
cmake ../..
make
- Pass the -DSAMPP_DEBUG=1 parameter to CMake for generating a build with debug symbols.