[Ajuda]Informaзхes nao aparecem
#1

Boa noite pessoas , novo bug aqui , й o seguinte , quando registra pede la o sexo masculino , feminino e salva na pasta certinho , mais quando do /rg nao aparece nada! :S , codes
Код:
CMD:rg(playerid, params[])
{
	new expamount = GetPlayerScore(playerid)*levelexp;
	new string[128];
	format(string, sizeof(string),"_______________________________|Seu RG %s|__________________________", pName(playerid));
	SendClientMessage(playerid, 0x9955DEEE,string);
    format(string, sizeof(string),"Level:[%d] - Tempo Oline[%s] - Respeito: %d/%d - Data de Registro[%d] - Sexo[%s] - Skin[%d]", GetPlayerScore(playerid), Convert(PlayerDados[playerid][TempoLogado]) , PlayerDados[playerid][pExp], expamount , PlayerDados[playerid][pcontacriada], PlayerDados[playerid][pSexo], GetPlayerSkin(playerid));
    SendClientMessage(playerid, COR_BRANCO, string);
    format(string, sizeof(string),"");
    SendClientMessage(playerid, COR_BRANCO,string);
    
    return 1;
}
e
Код:
if(dialogid == DIALOG_SEXO)
    {
        if(response)
        {
            new ano, mes, dia, data[22];
            getdate(dia, mes, ano);
            format(data, 22, "%d/%d/%d", dia, mes, ano);
            DOF2_SetString(contas(playerid),"contacriada",data);
            DOF2_SaveFile();
			SendClientMessage(playerid,0x0000FF74,"Ok,vocк й Homem");
            DOF2_SetString(contas(playerid),"Sexo", Masculino);
            DOF2_SaveFile();
            SetPlayerSkin(playerid,23);
            SetSpawnInfo(playerid, 0, 23, 1722.5123, -1912.7931, 13.5647, 269.15, 0, 0, 0, 0, 0, 0);
	  		SpawnPlayer(playerid);
	    	GivePlayerMoney(playerid, 1000);
	     	SetPlayerScore(playerid,2);
	     	SendClientMessage(playerid,-1,"Conta registrada com sucesso!");
	     	SalvarPlayer(playerid);
            }
            else if(!response)
		    {
		    new ano, mes, dia, data2[22];
            getdate(dia, mes, ano);
            format(data2, 22, "%d/%d/%d", dia, mes, ano);
            DOF2_SetString(contas(playerid),"contacriada",data2);
            DOF2_SaveFile();
            SendClientMessage(playerid,0xF760FFAA,"Ok vocк й Mulher");
            DOF2_SetString(contas(playerid),"Sexo",Feminino);
            DOF2_SaveFile();
            SetPlayerSkin(playerid,192);
   			SetSpawnInfo(playerid, 0, 192, 1722.5123, -1912.7931, 13.5647, 269.15, 0, 0, 0, 0, 0, 0);
	  		SpawnPlayer(playerid);
	    	GivePlayerMoney(playerid, 1000);
	     	SetPlayerScore(playerid,2);
	     	SendClientMessage(playerid,-1,"Conta registrada com sucesso!");
	     	SalvarPlayer(playerid);
            }

		return 1;
	}
Reply


Messages In This Thread
[Ajuda]Informaзхes nao aparecem - by Biieell - 16.07.2012, 04:34
Re: [Ajuda]Informaзхes nao aparecem - by Biieell - 16.07.2012, 04:44
Re: [Ajuda]Informaзхes nao aparecem - by Crueliz0n - 16.07.2012, 15:14
Re: [Ajuda]Informaзхes nao aparecem - by Biieell - 16.07.2012, 15:26
Re: [Ajuda]Informaзхes nao aparecem - by WaGnerLiima - 16.07.2012, 15:41

Forum Jump:


Users browsing this thread: 1 Guest(s)