Team Images
This documentation provides information on configuring team images for our FiveM script, which displays real-time sports odds along with team images. The script pulls images from a GitHub repository.
GitHub Repository
The script pulls team images from the following GitHub repository.
sky-systems/sport_team_imagesAdding Missing Team Images
If the icons for your teams are missing, you can contribute by adding them to the repository. Follow these steps to add new team images:
- Create a Pull Request: Fork the sport_team_images repository, add your images to the
teams/
folder in your fork, and create a pull request. - Image Requirements:
- Format: PNG
- Size: Not too large, maximum 500x500 pixels
- Naming Convention: The image must be named exactly as the team name appears in the UI, but without spaces. For example:
- St. Louis Cardinals should be named
St.LouisCardinals.png
- St. Louis Cardinals should be named
- Submission: After ensuring your image meets the requirements, submit a pull request with the new image.
Example Image Naming
Here are some examples of how team names should be formatted for the images:
- Team Name: St. Louis Cardinals
- Image File Name:
St.LouisCardinals.png
- Image File Name:
- Team Name: Bayern Munich
- Image File Name:
BayernMunich.png
- Image File Name:
- Team Name: New York Yankees
- Image File Name:
NewYorkYankees.png
- Image File Name:
Example Pull Request
To add an image for the "St. Louis Cardinals":
- Fork the Repository: Click on the "Fork" button on the repository page.
- Clone the Repository: Clone your forked repository to your local machine.
git clone https://github.com/your-username/sport_team_images.git
- Add the Image: Save the image as
St.LouisCardinals.png
and place it in theteams/
folder. - Commit and Push: Commit your changes and push them to your forked repository.
git add teams/St.LouisCardinals.png git commit -m "Add image for St. Louis Cardinals" git push origin main
- Create Pull Request: Go to the original repository and create a pull request from your fork.
Support
Need help? Our support team is always ready to assist
Join Discord