Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/Origin-OnSet/Onset_Weapon_Drop
Onset_Weapon_Drop
https://github.com/Origin-OnSet/Onset_Weapon_Drop
Last synced: 3 months ago
JSON representation
Onset_Weapon_Drop
- Host: GitHub
- URL: https://github.com/Origin-OnSet/Onset_Weapon_Drop
- Owner: Origin-OnSet
- License: mit
- Created: 2020-07-06T14:12:53.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2020-07-06T19:39:55.000Z (over 4 years ago)
- Last Synced: 2024-08-03T16:14:59.054Z (6 months ago)
- Language: Lua
- Size: 6.84 KB
- Stars: 3
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-onset - Weapon Drop - Simple weapon drop system. (Packages and Plugins / Libraries)
README
# Onset_Weapon_Drop
Simple weapon systeme## How to install
- Add the ["Onset_Weapon_Patch"](https://github.com/Origin-OnSet/Onset_Weapon_Patch) v1.1 folder to your server packages- Edit your server_config.json and add "Onset_Weapon_Drop" in the packages section before the files who need it
```json
"packages": [
"Onset_Weapon_Patch",
"Onset_Weapon_Drop"
],
```
- On the files who needs to initialize the Onset_Weapon_Drop using this function
```lua
local Weapon_Drop = ImportPackage("Onset_Weapon_Drop")
```
After that you should be able to use the built-in functions## Function
```lua
Create(x, y, z, Weapon_id, Weapon_ammo)
Drop(player)
Get(player, weapon_object)
```## Package Commands
```
Key F to get weapon
Key G to drop weeapon
```## Discord
Join Origin [Discord](https://discord.gg/MDEwtKr) server now !## License
This project is licensed under the [MIT](https://choosealicense.com/licenses/mit/) License