[Ajuda] Problemas de formataзгo de string
#1

To com um problema na formataзгo de string, como podem ver no link da imagem: http://i.imgur.com/pCjrbwH.jpg

Eu vou deixar o cуdigo aqui para analisarem.
PHP Code:
new gArchive[64], sString[64], lString[256];
format(gArchive64"/Playlists/%s.cfg"pName[playerid]);
if(
DOF2_FileExists(gArchive))
{
    for(new 
0MAX_SONGS; ++i)
    {
        
format(sString64"Song%d"i);
        
format(SongData[playerid][i], 64DOF2_GetString(gArchivesString));
        
format(lString256"Link%d"i);
        
format(LinkData[playerid][i], 256DOF2_GetString(gArchivelString));
    }

PHP Code:
MEGAString[0] = EOS;
new 
rString[64];
strcat(MEGAString"Nome da mъsica\n");
for(new 
iMAX_SONGS; ++i)
{
    
format(rString64"%s\n"SongData[playerid][i]);
    
strcat(MEGAStringrString);
}
ShowPlayerDialog(playeridDIALOGO_RADIO+3DIALOG_STYLE_TABLIST_HEADERS"Sua playlist"MEGAString"Selecionar""Voltar"); 
Reply


Messages In This Thread
Problemas de formataзгo de string - by pWesley - 22.06.2016, 01:17
Re: Problemas de formataзгo de string - by zSuYaNw - 22.06.2016, 01:23
Re: Problemas de formataзгo de string - by pWesley - 22.06.2016, 01:29
Re: Problemas de formataзгo de string - by zSuYaNw - 22.06.2016, 03:07
Re: Problemas de formataзгo de string - by pWesley - 22.06.2016, 03:19
Re: Problemas de formataзгo de string - by zSuYaNw - 22.06.2016, 03:31

Forum Jump:


Users browsing this thread: 3 Guest(s)