Skip to content

A client modification for GTA:San Andreas that uses SA-MP's plugin SDK to interact with the SA-MP server and add new features

License

Notifications You must be signed in to change notification settings

GtakillerIV/SA-MP-Plus

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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)

Alternatively:

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.

About

A client modification for GTA:San Andreas that uses SA-MP's plugin SDK to interact with the SA-MP server and add new features

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C++ 61.6%
  • C 38.3%
  • Other 0.1%