Hello everyone, I would like to share a basketball system script (Basketball System v1) that I created myself. It has been neatly packaged into a modular format and is ready to use to spice up your open.mp or SA-MP server, especially for adding roleplay activities or mini-games.
Key Features
* Simple Interaction: Just press the ALT key to pick up the basketball.
* Full Animations: Comes equipped with animations for both Dribbling and Throwing the ball.
* Reward/Status System: Successfully scoring a basket will automatically increase the player's pMood variable (you can easily adapt this variable to fit your own gamemode's player data).
* Default Location: The basketball court is preset and configured at the East Los Santos courts.
Installation Guide (Modular)
1. Clone or download the repository from the Github link below.
2. Place the files into your preferred gamemode folder.
3. Open header.inc and make sure to change the path to match your folder structure :
4. Insert this include line right above your main gamemode entry :
5. Compile your script, and you are good to go!
Download & Source Code
Feel free to grab the script or contribute directly to the project via GitHub :
👉 GitHub Repository - Engkqq/Basketball
Notes & Contributions
* Bug Reports : If you encounter any errors or bugs, please open an Issue directly on the GitHub repository page.
* Contributions : If you want to help develop or optimize this script further, pulling a request or contributing is highly welcomed.
* Credits : Please do not remove the Author credits inside the script code. Let's respect individual development work.
Contact & Support
If you need any assistance or want to join the community, reach out here :
* Discord: rizkimuhamadadam
* Author: Engkq
Key Features
* Simple Interaction: Just press the ALT key to pick up the basketball.
* Full Animations: Comes equipped with animations for both Dribbling and Throwing the ball.
* Reward/Status System: Successfully scoring a basket will automatically increase the player's pMood variable (you can easily adapt this variable to fit your own gamemode's player data).
* Default Location: The basketball court is preset and configured at the East Los Santos courts.
Installation Guide (Modular)
1. Clone or download the repository from the Github link below.
2. Place the files into your preferred gamemode folder.
3. Open header.inc and make sure to change the path to match your folder structure :
Code:
#include "./Modular/YourFolderName/YourFolderName/*.pwn"4. Insert this include line right above your main gamemode entry :
Code:
#include "./Modular/YourFolderName/YourFolderName/header.inc"5. Compile your script, and you are good to go!
Download & Source Code
Feel free to grab the script or contribute directly to the project via GitHub :
👉 GitHub Repository - Engkqq/Basketball
Notes & Contributions
* Bug Reports : If you encounter any errors or bugs, please open an Issue directly on the GitHub repository page.
* Contributions : If you want to help develop or optimize this script further, pulling a request or contributing is highly welcomed.
* Credits : Please do not remove the Author credits inside the script code. Let's respect individual development work.
Contact & Support
If you need any assistance or want to join the community, reach out here :
* Discord: rizkimuhamadadam
* Author: Engkq
