Audio for players in stream.
#7

Quote:
Originally Posted by UFF
Посмотреть сообщение
Код:
CMD:playmusic(playerid, params[])
{
        if(PlayerInfo[playerid][pAdmin] < 1) return MSG_NOADMIN1(playerid);
        if(IsPlayerInRangeOfPoint(playerid, 10.0, 260.4326,-1809.4899,6.9791))
        {
            if(isnull(params)) return SendClientMessage(playerid, COLOR_WHITE, "Ievadi: /playmusic [Link]");
            foreach(Player, i)
            {
            new Float:X, Float:Y, Float:Z, Float:Distance = 80.0;
            GetPlayerPos(playerid, X, Y, Z);
            PlayAudioStreamForPlayer(i, params, X, Y, Z, Distance, 1);
            }
        }
        return 1;
}
try this
C:\Users\Lietotājs\Desktop\GAPS\GM\LS-RP\gamemodes\tactic.pwn(9805) : error 017: undefined symbol "params"
C:\Users\Lietotājs\Desktop\GAPS\GM\LS-RP\gamemodes\tactic.pwn(9805) : error 029: invalid expression, assumed zero
C:\Users\Lietotājs\Desktop\GAPS\GM\LS-RP\gamemodes\tactic.pwn(9805) : error 017: undefined symbol "params"
C:\Users\Lietotājs\Desktop\GAPS\GM\LS-RP\gamemodes\tactic.pwn(9805) : fatal error 107: too many error messages on one line
Reply


Messages In This Thread
Audio for players in stream. - by Mill - 31.03.2018, 20:15
Re: Audio for players in stream. - by RxErT - 31.03.2018, 20:28
Re: Audio for players in stream. - by Mill - 31.03.2018, 20:33
Re: Audio for players in stream. - by RxErT - 31.03.2018, 20:34
Re: Audio for players in stream. - by Mill - 31.03.2018, 20:39
Re: Audio for players in stream. - by UFF - 01.04.2018, 04:13
Re: Audio for players in stream. - by Mill - 01.04.2018, 05:45
Re: Audio for players in stream. - by UFF - 01.04.2018, 05:50
Re: Audio for players in stream. - by Mill - 01.04.2018, 06:02
Re: Audio for players in stream. - by Mill - 01.04.2018, 07:07

Forum Jump:


Users browsing this thread: 1 Guest(s)