Biblioteka★ 9zaktualizowano lip 2020Brak licencjiPawn
Otwórz na GitHubieTo repozytorium nie ma pliku licencji. Jest publiczne do odczytu, ale samo to nie daje pozwolenia na ponowne użycie.
Wypróbuj w kompilatorze Pawn →
Dodaje jej pliki include, razem z bibliotekami, od których zależy, do kompilatora Pawn w twojej przeglądarce, gotowe do dołączenia w skrypcie.
README.md
samp-dropgun
Single player style drop gun.
Installation
Include in your code and begin using the library:
#include < dropgun >
Usage
SetPlayerDropWeaponData(playerid, slot, weaponid, ammo);
- Set player weapon data to drop
- Returning 1 on success
ClearPlayerDropWeaponSlot(playerid, slot);
- Clear player one slot data
- Returning 1 on success
ClearPlayerDropWeaponData(playerid);
- Clear player all slots data
- Returning 1 on success
DropPlayerWeapons(playerid);
- Dropping weapons from assigned drop data
- Returning 1 on success
public OnPlayerPickUpDroppedWeapon(playerid, weaponid, ammo, pickupid)
- Called when dropped weapon is picked up
Configuration
#define WEAPON_DROP_RADIUS
- Setting weapon drop radius (float)
#define MAX_DROP_SLOTS
- Setting player max drop slots (int)
These settings are optional.
Ta strona jest zbudowana z tego, co GitHub publikuje o repozytorium. samp.directory nie hostuje kodu. Zgłoś problem z tym wpisem