SA-MP Forums Archive
[Include] [INC] Radio System - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Filterscripts (https://sampforum.blast.hk/forumdisplay.php?fid=17)
+---- Forum: Includes (https://sampforum.blast.hk/forumdisplay.php?fid=83)
+---- Thread: [Include] [INC] Radio System (/showthread.php?tid=47803)



[INC] Radio System - [NL]HolyCrap - 19.08.2008

Why I Maked This
I Was Busy With A Dm Script With My Friend "Eric" And We Would Make A Sound When You Got A Killing Spree.
So I Was Thinking About What Sound We Shoul Play And I Came On The Idea Of Making A Radio

How It Works
It Is Easy To Use Actuly Because the functions have easy names and you can choose your own callbacks that got called by a given event.

The Functions
NextTrack(playerid); <--- this will change the current sound playing to the next sound in the list
PrevTrack(playerid); <--- this will change the current sound playing to the previus sound in the list
TurnRadioOn(playerid); <--- this will turn the radio on, and plays the first sound
TurnRadioOff(playerid); <--- this will turn the radio off, and stopts playing music

[size=20pt]how to use the Eventhandlers

Code:
public OnGameModeInit()
{
   SetOnRadioOff("Example");
   return 1;
}

public Example(playerid)
{
   // do somthing here
   return 1;
}

This Code Will Run "Example(playerid)" When The Radio Got Turned On



The Download Links
Here You Got The Download Links:
[size=12pt]The Sample FS:

Pwn On FileFactory
Amx On FileFactory
The Include:
Inc On FileFactory
Inc On Pastebin
[/size]

CopyRight
Copyright [NL]HolyCrap © 2008

License:
Things You May Not Do:
- to copy the work;
- to issue copies of the work to the public
- to perform, show or play the work in public
- to broadcast the work or include it in a cable programme service
Exept:
- You Got Permission From Me Or The Goverment

Other Things
I Come From Holland So I Cant Speak English Very Much So....
There Is A Tutorial/Sample At The Download.
Do You Have Any questions/Bugs Please Pm it to me or post it here




Re: [INC] Radio System - s1k - 19.08.2008

COOOOOOOL! This is very neat because if you want to listen to radio los santos and you dont like the song you can skip to the next song...Awsome! Im defitly downloading! Thank you!


Re: [INC] Radio System - Chaprnks - 20.08.2008

Quote:
Originally Posted by s1k
COOOOOOOL! This is very neat because if you want to listen to radio los santos and you dont like the song you can skip to the next song...Awsome! Im defitly downloading! Thank you!
I think he means songs as in the PlayPlayerMusic ones which are not really music but sounds from san andreas.


Re: [INC] Radio System - s1k - 20.08.2008

Quote:
Originally Posted by Adam_Chaprnka
Quote:
Originally Posted by s1k
COOOOOOOL! This is very neat because if you want to listen to radio los santos and you dont like the song you can skip to the next song...Awsome! Im defitly downloading! Thank you!
I think he means songs as in the PlayPlayerMusic ones which are not really music but sounds from san andreas.
O


Re: [INC] Radio System - [NL]HolyCrap - 20.08.2008

Quote:
Originally Posted by Adam_Chaprnka
Quote:
Originally Posted by s1k
COOOOOOOL! This is very neat because if you want to listen to radio los santos and you dont like the song you can skip to the next song...Awsome! Im defitly downloading! Thank you!
I think he means songs as in the PlayPlayerMusic ones which are not really music but sounds from san andreas.
yes, this include can play music from PlayPlayerMusic


Re: [INC] Radio System - joh999 - 20.08.2008

Quote:
Originally Posted by [NL
HolyCrap ]

Copyright [NL]HolyCrap © 2008

License:
Things You May Not Do:
- to copy the work;
- to issue copies of the work to the public
- to perform, show or play the work in public
- to broadcast the work or include it in a cable programme service
Exept:
- You Got Permission From Me Or The Goverment

Other Things
[/color]
[/center]
Omg Doom / Daplayer And Eric is me xD


Re: [INC] Radio System - [NL]HolyCrap - 20.08.2008

"Eric"'s forum name is joh999


Re: [INC] Radio System - julian - 04.09.2008

Question can people add Live radio inside it? so people can hear radio from hosted radio servers? if not im maby going to rescript it and make it if i can XD and if i have your perm


Re: [INC] Radio System - boemeles - 04.09.2008

stop thinking right now you cant

. <-point

somepeople are trying to: look in the plugin section


Re: [INC] Radio System - Tez2k7 - 04.09.2008

Quote:
Originally Posted by s1k
Quote:
Originally Posted by Adam_Chaprnka
Quote:
Originally Posted by s1k
COOOOOOOL! This is very neat because if you want to listen to radio los santos and you dont like the song you can skip to the next song...Awsome! Im defitly downloading! Thank you!
I think he means songs as in the PlayPlayerMusic ones which are not really music but sounds from san andreas.
O
Gutterrrrrd


Re: [INC] Radio System - manunited1878 - 19.02.2010

can you make a new AMX file upload place?

the other one said:

Код:
Sorry, this file is no longer available. It may have been deleted by the uploader, or has expired.