[FilterScript] Custom Radio Stations (Like the default ones!)
#1

What is it?
This filterscript was designed to mimic the way in which GTA:SA handles the in-vehicle radio. The filterscript has a selection of predefined UK-based radio streams and allows the players to flick through the streams complete with the station name drawn via a textdraw exactly in the way that the regular station names would show.

How do my players use it?
Simple really, just go ahead and press your "KEY_YES" and "KEY_NO". These are also known on a default keyboard layout as 'Y' and 'N'. Y to go to the next station and N to return to the previous station.

A ******* video perhaps?
[ame]http://www.youtube.com/watch?v=MUGM_9TgFfE[/ame]


Downloads?
Raw PAWN Source
Pre-compiled AMX Binaries
Reply
#2

Why not on switch? and a little shorter function.

http://pastebin.com/K1Dz6jBP

But, good job for doing such a thing.
Reply
#3

Great Job!
Reply
#4

Quote:
Originally Posted by Riddick94
Посмотреть сообщение
Why not on switch? and a little shorter function.

http://pastebin.com/K1Dz6jBP

But, good job for doing such a thing.
I would have used a switch but I was stuck for time and it was about 4AM so I did the best of what my eyes could see but yea a switch would be less resource hungry :3
Reply
#5

i love this fs
Reply
#6

hello i got 9 erros dude nice FS:

errors
Quote:

undefined symbol "StopAudioStreamForPlayer"
NYRadio.pwn(92) : error 017: undefined symbol "StopAudioStreamForPlayer"
NYRadio.pwn(105) : error 017: undefined symbol "PlayAudioStreamForPlayer"
NYRadio.pwn(11 : error 017: undefined symbol "PlayAudioStreamForPlayer"
NYRadio.pwn(131) : error 017: undefined symbol "PlayAudioStreamForPlayer"
NYRadio.pwn(144) : error 017: undefined symbol "PlayAudioStreamForPlayer"
NYRadio.pwn(157) : error 017: undefined symbol "PlayAudioStreamForPlayer"
NYRadio.pwn(174) : error 017: undefined symbol "KEY_YES"
NYRadio.pwn(180) : error 017: undefined symbol "KEY_NO"

Reply
#7

Quote:
Originally Posted by MAVERICKS
Посмотреть сообщение
hello i got 9 erros dude nice FS:

errors
What's about to update your server to 0.3d?
Reply
#8

Quote:
Originally Posted by BigETI
Посмотреть сообщение
What's about to update your server to 0.3d?
btw don't troll!!!
never mind i just fix it :P

pawn Код:
#include <a_samp>
#include <sscanf2>
#include <streamer>
#pragma tabsize 0
I just do it and works
Reply
#9

EDIT: Nvm i reloaded it and now it works great.

Nice fs. but i have a problem, it doesnt stop the last audio stream when u switch through each station. anyone else have this problem? If someone did i could use a little help cause i am new to scripting.
Thanks
Nick
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)