Git Product home page Git Product logo

sa-mp-plus's Introduction

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)

####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.

sa-mp-plus's People

Contributors

gtakilleriv avatar whitetigerswt avatar jovazxc avatar

Watchers

James Cloos avatar Willian Frantz avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.