[FilterScript] Live EURO 2016 scores
#1

Live Scores for Euro 2016
I've been a member of the SA-MP community since 2006 and have been scripting since late 2007. Yet, I find that I have never shared any code with the community. Today.. I present to you... LIVE SCORES EURO 2016!

This code displays a textdraw showing the live scores of games and updates automatically. I am using BBC's API in a custom script that I made hosted on my website. This is what it will look like in game (positioned across the minimap).



Demo Server
Quote:

If you would like to see this exact code in action then please join:

server.lawlessrp.com:7777

Features
Quote:

- Displays live football scores for the Euro 2016 (automatically updates)
- Uses two textdraws, one for the red background and one for the text
- Textdraws are hidden when there are no games playing
- Textdraws display the next game that starts within 3 hours (format: County v County 13:00)

Commands
Quote:

/togscores - Turns the HUD off for a player

Credits
Quote:

Lawless Roleplay Community - For the idea
SA-MP Community & Devs - Without you, I wouldn't be having so much fun
****** - ycmd and ytimers

Disclaimer
Quote:

Running a community like Lawless Roleplay takes a lot of my time. Sadly, I am unable to provide support for this filterscript and cannot provide the API source. This is provided 'as is' and any issues must be resolved by yourself.

Download
http://www.mediafire.com/download/p8...ive_Scores.zip (.pwn, .amx and includes)
http://pastebin.com/5w1qHTev (.pwn only)
http://lawlessrp.com/threads/release...-scores.82774/ (Registration required - all)

Enjoy!
Reply
#2

Please pastebin version.
This looks nice
Reply
#3

Quote:
Originally Posted by Wizzard2H
Посмотреть сообщение
Please pastebin version.
This looks nice
Added it in the first post!

It doesn't include the includes (ycmd & ytimer) but I am sure most people here can get it themselves. If you can't then use the mediafire link in the first post.
Reply
#4

Cool filterscript *Claps*
Reply
#5

wew you purtugal fangay catalans will show the power to you anytime closer we ll shine we have cocaine we own mexico and columbio they speak our language they live our cultures we are the best cartells ll show you the power one day we will all get togethar and ll name our lands THE CARTELLBEANS
Reply
#6

Hi all,

I have just uploaded an update to it. I have updated the links in the first post

- It now hides the textdraws when there are no games playing
- It now displays the next game within 3 hours
- Included .amx in the mediafire link
Reply
#7

Damn bro how did you think of this haha. Good job mate! +rep
Reply
#8

You need to make a few commands to set the position.
Reply
#9

Epic FS , you worth REP
Reply
#10

Repped. Good Job.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)