Audio for players in stream.
#1

Hi.
When i was done scripting this, errors popped up and i dont know what to do.
I tried #pragma unused params but i guess it wont work
Somebody, help?
PHP код:
else if(!strcmp(cmd"/playmusic"true))
    {
    foreach(
Playeri)
    {
        if(
PlayerInfo[playerid][pAdmin] < 1) return MSG_NOADMIN1(playerid);
        if(
IsPlayerInRangeOfPoint(playerid10.0260.4326,-1809.4899,6.9791))
        {
            if(
isnull(params)) return SendClientMessage(playeridCOLOR_WHITE"Ievadi: /playmusic [Link]");
            new 
Float:XFloat:YFloat:ZFloat:Distance 80.0;
            
GetPlayerPos(playeridXYZ);
            
PlayAudioStreamForPlayer(i"params"XYZDistance1);
        }
    }
    return 
1;
    } 
Errors im getting:
Код HTML:
C:\Users\Lietotājs\Desktop\GAPS\GM\LS-RP\gamemodes\tactic.pwn(9804) : error 017: undefined symbol "params"
C:\Users\Lietotājs\Desktop\GAPS\GM\LS-RP\gamemodes\tactic.pwn(9808) : error 017: undefined symbol "params"
C:\Users\Lietotājs\Desktop\GAPS\GM\LS-RP\gamemodes\tactic.pwn(9808) : error 029: invalid expression, assumed zero
C:\Users\Lietotājs\Desktop\GAPS\GM\LS-RP\gamemodes\tactic.pwn(9808) : error 017: undefined symbol "params"
C:\Users\Lietotājs\Desktop\GAPS\GM\LS-RP\gamemodes\tactic.pwn(9808) : 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)