Problem with audiostream
#1

So basicly i havent found anything wrong here but pawno says that there is somthing wrong...

PHP код:
{
    new 
string[128];
    
format(string,sizeof(string), "http://translate.******.com/translate_tts?q=%s has connected to the server"RPN(playerid));
    foreach(
Playeri)
    {
        if(
JoinMessages[i])
        {
This>>>            PlayAudioStreamForPlayer()PlayAudioStreamForPlayer(istring);
        }
    } 
PHP код:
C:\Users\WeeD\Desktop\SAMP\gamemodes\HTLS-RP.pwn(4265) : warning 202number of arguments does not match definition
C
:\Users\WeeD\Desktop\SAMP\gamemodes\HTLS-RP.pwn(4265) : warning 202number of arguments does not match definition
C
:\Users\WeeD\Desktop\SAMP\gamemodes\HTLS-RP.pwn(4265) : error 001expected token";"but found "-identifier-"
Pawn compiler 3.2.3664              Copyright (c1997-2006ITB CompuPhase 
Reply
#2

Why do you have 2 stacked up against eachother? Cant you just replace this
pawn Код:
PlayAudioStreamForPlayer()PlayAudioStreamForPlayer(i, string);
With
pawn Код:
PlayAudioStreamForPlayer(i, string);
Reply
#3

Код:
PlayAudioStreamForPlayer(i, "http://translate.******.com/translate_tts?q=%s has connected to the server");
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)