[Include] [INC] Radio System
#1

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

Reply
#2

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!
Reply
#3

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.
Reply
#4

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
Reply
#5

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
Reply
#6

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
Reply
#7

"Eric"'s forum name is joh999
Reply
#8

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
Reply
#9

stop thinking right now you cant

. <-point

somepeople are trying to: look in the plugin section
Reply
#10

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
Reply
#11

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.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)