[Ajuda] Ler os arquivos.
#2

PHP код:
CMD:equipebcd(playeridparams[])
{
    
format(Stringsizeof(String), "Admins/%s.ini");
    if(
DOF2_FileExists(String))
    {
        
SendClientMessage(playerid,-1,"{B7D2F1}•••••••••••••••••••• [EQUIPE BCD] ••••••••••••••••••••");
        
format(Stringsizeof(String), "{FFFB71}Admin: {FFFFFF}%s {FFFB71}Nнvel: {FFFFFF}%s[%d]"DOF2_GetString(String"Nome"), DOF2_GetString(String"Cargo"), DOF2_GetInt(String"Nivel"));
        
SendClientMessage(playerid0xFFFFFFFF String);
    }
    return 
1;

PHP код:
format(Stringsizeof(String), "Admins/%s.ini"); 
Neste format o %s nгo estб sendo setado a nada, por que nгo tem nenhuma vбriavel no format que faзa isto.
Reply


Messages In This Thread
Ler os arquivos. - by Duk - 09.07.2015, 23:00
Re: Ler os arquivos. - by #Luca[S]. - 10.07.2015, 01:58
Re: Ler os arquivos. - by FallweN - 10.07.2015, 02:06
Re: Ler os arquivos. - by ProKillerpa - 10.07.2015, 02:19
Re: Ler os arquivos. - by zSuYaNw - 10.07.2015, 11:49

Forum Jump:


Users browsing this thread: 1 Guest(s)