[Rijeseno] oko muzike

Započeo Ole, April 18, 2016, 18:18:07 POSLE PODNE

prethodna tema - sledeća tema

0 članova i 1 gost pregledaju ovu temu.

Ole

*

zna neko nacin kako da zaustavim muziku kad se igrac uloguje i bude na srw 10 sec da se muzika ugasi...[pawn]#include <a_samp>

#if defined FILTERSCRIPT

public OnFilterScriptInit()
{
    print("\n--------------------------------------");
    print(" Random Music By: GreenEye Loaded");
    print("--------------------------------------\n");
    return 1;
}

public OnFilterScriptExit()
{
    print("\n--------------------------------------");
    print(" Random Music By: GreenEye UNLoaded ");
    print("--------------------------------------\n");
    return 1;
}

#else


#endif

public OnPlayerConnect(playerid)
{
        new rmusic = random(25);
        switch (rmusic)
        {
        case 0: PlayAudioStreamForPlayer(playerid,"https://xsfserver.com/music/Club.mp3");
        case 1: PlayAudioStreamForPlayer(playerid,"https://a.tumblr.com/tumblr_mmx0g4qjil8omo1.mp3");
        case 2: PlayAudioStreamForPlayer(playerid,"http://xsfserver.com/music/BitchesLoveMe.mp3");
        case 3: PlayAudioStreamForPlayer(playerid,"http://xsfserver.com/music/BigPoppa.mp3");
        case 4: PlayAudioStreamForPlayer(playerid,"http://xsfserver.com/music/BitchesandBottles.mp3");
        case 5: PlayAudioStreamForPlayer(playerid,"http://xsfserver.com/music/CountingStars.mp3");
        case 6: PlayAudioStreamForPlayer(playerid,"http://xsfserver.com/music/LoveSosa.mp3");
        case 7: PlayAudioStreamForPlayer(playerid,"http://xsfserver.com/music/Gangnam.mp3");
        case 8: PlayAudioStreamForPlayer(playerid,"http://xsfserver.com/music/Forever.mp3");
        case 9: PlayAudioStreamForPlayer(playerid,"http://xsfserver.com/music/Sexy.mp3");
        case 10: PlayAudioStreamForPlayer(playerid,"http://xsfserver.com/music/SexyChick.mp3");
        case 11: PlayAudioStreamForPlayer(playerid,"http://xsfserver.com/music/SmokeANigga.mp3");
        case 12: PlayAudioStreamForPlayer(playerid,"http://xsfserver.com/music/RapGod.mp3");
        case 13: PlayAudioStreamForPlayer(playerid,"http://xsfserver.com/music/animals.mp3");
        case 14: PlayAudioStreamForPlayer(playerid,"http://xsfserver.com/music/sPartyRocking.mp3");
        case 15: PlayAudioStreamForPlayer(playerid,"http://xsfserver.com/music/WhatIsLove.mp3");
        case 16: PlayAudioStreamForPlayer(playerid,"http://xsfserver.com/music/WildBoy.mp3");
        case 17: PlayAudioStreamForPlayer(playerid,"http://xsfserver.com/music/MyLife.mp3");
        case 18: PlayAudioStreamForPlayer(playerid,"http://xsfserver.com/music/Lights.mp3");
        case 19: PlayAudioStreamForPlayer(playerid,"http://xsfserver.com/music/LetItRock.mp3");
        case 20: PlayAudioStreamForPlayer(playerid,"http://xsfserver.com/music/GoodLife.mp3");
        case 21: PlayAudioStreamForPlayer(playerid,"http://xsfserver.com/music/HotNigga.mp3");
        case 22: PlayAudioStreamForPlayer(playerid,"https://dl.dropbox.com/s/i4t87fvile4omxj/AlorsStremae.mp3?dl=1");
        case 23: PlayAudioStreamForPlayer(playerid,"https://dl.dropbox.com/s/vaidubo8ftyv1ce/La%20Policia.mp3?dl=1");
        case 24: PlayAudioStreamForPlayer(playerid,"https://dl.dropbox.com/s/54h4ijc7ffxftdx/Black%20Widow.mp3?dl=1");
        case 25: PlayAudioStreamForPlayer(playerid,"https://dl.dropbox.com/s/hhn2bf160tgzn0g/MemoriesDG.mp3?dl=1");
        }
        return 1;
}[/pawn]
Poslednja Izmena: April 24, 2016, 13:12:00 POSLE PODNE od Harryâ„¢

Napravi tajmer i StopPlayingAudioStreamForPlayer ili kako vec.. Jednostavno je.

Ole

*

Citat: 🎶🎵❤Tosic❤🎵🎶 poslato April 18, 2016, 18:20:32 POSLE PODNE
Napravi tajmer i StopPlayingAudioStreamForPlayer ili kako vec.. Jednostavno je.
pocetnik sam tako da ...

Citat: 🎶🎵❤Tosic❤🎵🎶 poslato April 18, 2016, 18:20:32 POSLE PODNE
StopPlayingAudioStreamForPlayer

OnPlayerSpawn (( ili gdje vec zelis... )) dodas ovako (( valjda je tako xD )) "StopPlayingAudioStreamForPlayer i tjt.. :)

Citat: ❤ ♛ ᴍᴜᴍᴀ ♛ ❤ poslato April 18, 2016, 19:16:19 POSLE PODNE
Citat: 🎶🎵❤Tosic❤🎵🎶 poslato April 18, 2016, 18:20:32 POSLE PODNE
StopPlayingAudioStreamForPlayer

OnPlayerSpawn (( ili gdje vec zelis... )) dodas ovako (( valjda je tako xD )) "StopPlayingAudioStreamForPlayer i tjt.. :)
Ubo sam kako ide hahah ugl on hoce tajmer. Imas na forumu tut za tajmer kolega @Mr.Konj je okacio juce ja msm. Pogledaj i skontaces

Ole

*

Citat: 🎶🎵❤Tosic❤🎵🎶 poslato April 18, 2016, 19:58:10 POSLE PODNE
Citat: ❤ ♛ ᴍᴜᴍᴀ ♛ ❤ poslato April 18, 2016, 19:16:19 POSLE PODNE
Citat: 🎶🎵❤Tosic❤🎵🎶 poslato April 18, 2016, 18:20:32 POSLE PODNE
StopPlayingAudioStreamForPlayer

OnPlayerSpawn (( ili gdje vec zelis... )) dodas ovako (( valjda je tako xD )) "StopPlayingAudioStreamForPlayer i tjt.. :)
Ubo sam kako ide hahah ugl on hoce tajmer. Imas na forumu tut za tajmer kolega @Mr.Konj je okacio juce ja msm. Pogledaj i skontaces
Hvala vam . Moze LOCK 😊