[Ajuda] Sistema de clan com erros
#6

Quote:
Originally Posted by Ryper
View Post
Code:
    if(dialogid == 6738) // comeзo das dialogs do clan
	{
        new aname[MAX_PLAYER_NAME];
		new string[256];
		new string2[256];
		new string3[256];
		GetPlayerName(playerid, aname, MAX_PLAYER_NAME);
		format(file, sizeof(file), PASTA_CONTAS, aname);
		format(string, sizeof(string), "/Clans/clan%d.ini", convt[playerid]);
        if(response == 1)
		{
			format(string2, sizeof(string2), "{FF0000}|INFO|{00BFFF} %s {FFFFFF}agora й do clan {00BFFF}%s.",aname, dini_Get(string, "Nome"));
			SendClientMessageToAll(tcadm, string2);
			dini_IntSet(file, "SClan", 1);
			dini_IntSet(file, "Clan", convt(playerid));
			format(string3, sizeof(string3), "TMembro%d", memb[dini_Int(file, "Clan")]);
			dini_IntSet(string, string3, 1);
			format(string3, sizeof(string3), "Membro%d", memb[dini_Int(file, "Clan")]);
			dini_Set(string, string3, aname);
        }
    } // Fim da primeira dialog do clan
Seu comando й meio confuso, nгo consegui entender o algorнtimo que estбs usando.

PHP Code:

            
new valor dini_Int(file"Clan");
            
format(string3sizeof(string3), "TMembro%d"memb[valor]);
            
dini_IntSet(stringstring31);
            
format(string3sizeof(string3), "Membro%d"memb[valor]);
            
dini_Set(stringstring3aname); 
Reply


Messages In This Thread
Sistema de clan com erros - by Ryper - 19.06.2016, 05:12
Re: Sistema de clan com erros - by zSuYaNw - 19.06.2016, 05:32
Re: Sistema de clan com erros - by Ryper - 19.06.2016, 06:04
Re: Sistema de clan com erros - by zSuYaNw - 19.06.2016, 15:34
Re: Sistema de clan com erros - by Ryper - 19.06.2016, 22:23
Re: Sistema de clan com erros - by zSuYaNw - 19.06.2016, 23:09
Re: Sistema de clan com erros - by ipsLuan - 19.06.2016, 23:13
Re: Sistema de clan com erros - by zSuYaNw - 19.06.2016, 23:22
Re: Sistema de clan com erros - by ipsLuan - 19.06.2016, 23:44

Forum Jump:


Users browsing this thread: 2 Guest(s)