Quantcast
Channel: SA-MP Forums - Filterscripts
Viewing all articles
Browse latest Browse all 595

[FilterScript] Unlimited Random Songs when player Login.

$
0
0
Login Random Music

In order to this filterscript works, you'll need a web host

Example:
You must save the songs to play with the name "song.mp3"
if you want have 3 different songs you should start with "song.mp3", "song1.mp3", "song2.mp3" ...


You'll need to download or copy/paste the code and edit .pwn for compile it with your settings.


* Music stops when the player spawn
* There is an RCON command to activate or deactivate the sound when logging in. | /activatemusic


PHP Code:

// Avaliable Settings:

#define COL_RED 0x9F0000FF  //Color

#define MAX_SONGS (3) //Here place the amount of songs that you will use.

new FirstSong[] = "http://www.example.com/music/song.mp3"// Here you place the route of the first song.mp3 (this should not contain any number)

new Link[] = "http://www.example.com/music/song%i.mp3"// Here it places the route where the songs are

// 


Leave me your opinion.

Viewing all articles
Browse latest Browse all 595

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>