Audio for players in virtual world
#2

PHP код:
CMD:playmusicl(playeridparams[])
{
    if(
GetPlayerVirtualWorld(playerid) == 3) return SendClientMessage(playerid, -1"Ure not in virtual world 3!");
    if(
isnull(params)) return SendClientMessage(playerid, -1"Ievadi: /playmusicl (url)");
    foreach(
Playeri)
    {
        if(
GetPlayerVirtualWorld(i) == 3)
        {
            
//Looping all online players, if player is VW == 3, PlayAudioStream....
            
PlayAudioStreamForPlayer(iparams);
        }
    }
    return 
1;

Reply


Messages In This Thread
Audio for players in virtual world - by Mill - 02.04.2018, 11:58
Re: Audio for players in virtual world - by David (Sabljak) - 02.04.2018, 12:13
Re: Audio for players in virtual world - by Sabur - 02.04.2018, 12:14
Re: Audio for players in virtual world - by Mill - 02.04.2018, 12:24

Forum Jump:


Users browsing this thread: 1 Guest(s)