who can help me ??
#1

PHP код:
     if(dialogid == 366)
     {
         new 
url;
         new 
file ini_openFile("radio.ini");
        if(
ini_getInteger(fileinputtexturl) == 0)
        {
            new 
string[256];
            
format(string,sizeof(string),"[Radio]You start Radio ID:%s",inputtext);
            new 
string2[256];
            
format(string2,sizeof(string2),"http://%d/listen.pls",url);
            
PlayAudioStreamForPlayer(playeridstring2 );
            
SendClientMessage(playerid,-1,string);
        }
        else
        {
            new 
string2[256];
            
format(string2,sizeof(string2),"[Radio]Invalid ID:%s",inputtext);
            
SendClientMessage(playerid,-1,string2);
        }
        
iniClose(file);
     } 
what params need to use to format this
PHP код:
79.124.67.182:8030 
in this line whats need ? %d dont work
PHP код:
format(string2,sizeof(string2),"http://%d/listen.pls",url); 
Reply


Messages In This Thread
who can help me ?? - by rumen98 - 08.09.2012, 17:38
Re: who can help me ?? - by Pangea - 08.09.2012, 17:45
Re: who can help me ?? - by rumen98 - 08.09.2012, 17:46
Re: who can help me ?? - by rumen98 - 08.09.2012, 18:29
Re: who can help me ?? - by MarkoN - 08.09.2012, 19:02
Re: who can help me ?? - by Pangea - 08.09.2012, 20:53
Re: who can help me ?? - by rumen98 - 08.09.2012, 20:59
Re: who can help me ?? - by Chenko - 08.09.2012, 21:33

Forum Jump:


Users browsing this thread: 1 Guest(s)