[Ajuda] Mudar o RG
#1

Bom,vim aqui pedir ajuda pois estou com um problema,eu quero tirar o /rg de dialog e colocar pra que apareзa na tela normalmente alguem pode me ajudar ?


Код:
		format(MARCOSOWNAA, sizeof(MARCOSOWNAA), "%s\n%s\n",MARCOSOWNAA,name);
		format(MARCOSOWNAA, sizeof(MARCOSOWNAA), "%s\n{FF8C00}Nivel:{FFFFFF}[%d] {FF8C00}Sexo:{FFFFFF}[%s] {FF8C00}Vida:{FFFFFF}[%.1f] {FF8C00}Dinheiro:{FFFFFF}[R$%d] {FF8C00}Banco:{FFFFFF}[R$%d] {FF8C00}Celular:{FFFFFF}[%d] {FF8C00}Crйditos:{FFFFFF}[%d]\n",MARCOSOWNAA, level,atext,shealth+50.0, cash, Conta, pnumBPF,creditos);
		format(MARCOSOWNAA, sizeof(MARCOSOWNAA), "%s\n{FF8C00}Conta:{FFFFFF}[%s] {FF8C00}Casado Com:{FFFFFF}[%s] {FF8C00}Horas Jogadas:{FFFFFF}[%d] {FF8C00}Profissгo Secundaria:{FFFFFF}[%s]\n",MARCOSOWNAA, drank,married,ptime,jtext);
		format(MARCOSOWNAA, sizeof(MARCOSOWNAA), "%s\n{FF8C00}Peixes:{FFFFFF}[%d] {FF8C00}Maior Peixe:{FFFFFF}[%d] {FF8C00}Crimes Cometidos:{FFFFFF}[%d] {FF8C00}Matou:{FFFFFF}[%d] {FF8C00}Morreu:{FFFFFF}[%d]\n",MARCOSOWNAA, fishes,bigfish,crimes,kills,deaths );
		format(MARCOSOWNAA, sizeof(MARCOSOWNAA), "%s\n{FF8C00}Prуximo Nivel:{FFFFFF}[R$%d] {FF8C00}Respeito:{FFFFFF}[%d/%d] {FF8C00}Doenзas:{FFFFFF}[%s]\n",MARCOSOWNAA,costlevel,exp,expquantidade,dtext);
		format(MARCOSOWNAA, sizeof(MARCOSOWNAA), "%s\n{FF8C00}Materiais:{FFFFFF}[%d] {FF8C00}Safe Materiais:{FFFFFF}[%d] {FF8C00}Organizaзгo:{FFFFFF}[%s] {FF8C00}Cargo:{FFFFFF}[%s]\n",MARCOSOWNAA,materiaisPain,smats,NomeORG(targetid),rtext);
		format(MARCOSOWNAA, sizeof(MARCOSOWNAA), "%s\n{FF8C00}Maconha:{FFFFFF}[%d] {FF8C00}Cocaina:{FFFFFF}[%d] {FF8C00}Crack:{FFFFFF}[%d] {FF8C00}Safe Maconha:{FFFFFF}[%d] {FF8C00}Safe Cocaina:{FFFFFF}[%d] {FF8C00}Safe Crack:{FFFFFF}[%d]\n",MARCOSOWNAA,Drogas,Drogas2,Drogas3,SafeDrogas,SafeDrogas2,SafeDrogas3);
		format(MARCOSOWNAA, sizeof(MARCOSOWNAA), "%s\n{FF8C00}Chave De Casa: {FFFFFF}[%d] {FF8C00}Chave Da Empresa {FFFFFF}[%d] {FF8C00}Chave Do Carro(Aluguel) {FFFFFF}[%d] {FF8C00}Interior:{FFFFFF}[%d] {FF8C00}Local:{FFFFFF}[%d]\n",MARCOSOWNAA, Housekey,bizkey,HireCar[targetid],intir,local);
		format(MARCOSOWNAA, sizeof(MARCOSOWNAA), "%s\n{FF8C00}Veiculo 1{FFFFFF}[%d] {FF8C00}Veiculo 2{FFFFFF}[%d] {FF8C00}Veiculo 3{FFFFFF}[%d] {00BFFF}Simple Life v1.0\n",MARCOSOWNAA, ChaveCarro, ChaveCarro2, ChaveCarro3);
        ShowPlayerDialog(playerid, DIALOG_INFO, DIALOG_STYLE_MSGBOX, "{FFFFFF}RG", MARCOSOWNAA, "Ok", "Voltar");
	}
}
Код:
if (strcmp(cmd, "/rg", true) == 0)
	{
	    if(IsPlayerConnected(playerid))
	    {
			if (gPlayerLogged[playerid] != 0)
			{
				ShowStats(playerid,playerid);
			}
			else
			{
				SendClientMessage(playerid, COLOR_GRAD1, "   Vocк nгo estб logado !");
			}
		}
		return 1;
	}
Desde jб agradeзo
Reply
#2

pawn Код:
format(MARCOSOWNAA, sizeof(MARCOSOWNAA), "RG de %s", name);
SendClientMessage(playerid, -1, MARCOSOWNAA);
format(MARCOSOWNAA, sizeof(MARCOSOWNAA), "{FF8C00}Nivel:{FFFFFF}[%d] {FF8C00}Sexo:{FFFFFF}[%s] {FF8C00}Vida:{FFFFFF}[%.1f] {FF8C00}Dinheiro:{FFFFFF}[R$%d] {FF8C00}Banco:{FFFFFF}[R$%d] {FF8C00}Celular:{FFFFFF}[%d] {FF8C00}Crйditos:{FFFFFF}[%d]", level,atext,shealth+50.0, cash, Conta, pnumBPF,creditos);
SendClientMessage(playerid, -1, MARCOSOWNAA);
format(MARCOSOWNAA, sizeof(MARCOSOWNAA), "{FF8C00}Conta:{FFFFFF}[%s] {FF8C00}Casado Com:{FFFFFF}[%s] {FF8C00}Horas Jogadas:{FFFFFF}[%d] {FF8C00}Profissгo Secundaria:{FFFFFF}[%s]", drank,married,ptime,jtext);
SendClientMessage(playerid, -1, MARCOSOWNAA);
format(MARCOSOWNAA, sizeof(MARCOSOWNAA), "{FF8C00}Peixes:{FFFFFF}[%d] {FF8C00}Maior Peixe:{FFFFFF}[%d] {FF8C00}Crimes Cometidos:{FFFFFF}[%d] {FF8C00}Matou:{FFFFFF}[%d] {FF8C00}Morreu:{FFFFFF}[%d]", fishes,bigfish,crimes,kills,deaths );
SendClientMessage(playerid, -1, MARCOSOWNAA);
format(MARCOSOWNAA, sizeof(MARCOSOWNAA), "{FF8C00}Prуximo Nivel:{FFFFFF}[R$%d] {FF8C00}Respeito:{FFFFFF}[%d/%d] {FF8C00}Doenзas:{FFFFFF}[%s]", costlevel,exp,expquantidade,dtext);
SendClientMessage(playerid, -1, MARCOSOWNAA);
format(MARCOSOWNAA, sizeof(MARCOSOWNAA), "{FF8C00}Materiais:{FFFFFF}[%d] {FF8C00}Safe Materiais:{FFFFFF}[%d] {FF8C00}Organizaзгo:{FFFFFF}[%s] {FF8C00}Cargo:{FFFFFF}[%s]", materiaisPain,smats,NomeORG(targetid),rtext);
SendClientMessage(playerid, -1, MARCOSOWNAA);
format(MARCOSOWNAA, sizeof(MARCOSOWNAA), "{FF8C00}Maconha:{FFFFFF}[%d] {FF8C00}Cocaina:{FFFFFF}[%d] {FF8C00}Crack:{FFFFFF}[%d] {FF8C00}Safe Maconha:{FFFFFF}[%d] {FF8C00}Safe Cocaina:{FFFFFF}[%d] {FF8C00}Safe Crack:{FFFFFF}[%d]", Drogas,Drogas2,Drogas3,SafeDrogas,SafeDrogas2,SafeDrogas3);
SendClientMessage(playerid, -1, MARCOSOWNAA);
format(MARCOSOWNAA, sizeof(MARCOSOWNAA), "{FF8C00}Chave De Casa: {FFFFFF}[%d] {FF8C00}Chave Da Empresa {FFFFFF}[%d] {FF8C00}Chave Do Carro(Aluguel) {FFFFFF}[%d] {FF8C00}Interior:{FFFFFF}[%d] {FF8C00}Local:{FFFFFF}[%d]",Housekey,bizkey,HireCar[targetid],intir,local);
SendClientMessage(playerid, -1, MARCOSOWNAA);
format(MARCOSOWNAA, sizeof(MARCOSOWNAA), "{FF8C00}Veiculo 1{FFFFFF}[%d] {FF8C00}Veiculo 2{FFFFFF}[%d] {FF8C00}Veiculo 3{FFFFFF}[%d] {00BFFF}Simple Life v1.0",ChaveCarro, ChaveCarro2, ChaveCarro3);
SendClientMessage(playerid, -1, MARCOSOWNAA);
Reply
#3

pawn Код:
if (strcmp(cmd, "/rg", true) == 0)
    {
        if(IsPlayerConnected(playerid))
        {
            if (gPlayerLogged[playerid] != 0)
            {
                format(MARCOSOWNAA, sizeof(MARCOSOWNAA), "RG de %s", name);
                SendClientMessage(playerid, -1, MARCOSOWNAA);
                format(MARCOSOWNAA, sizeof(MARCOSOWNAA), "{FF8C00}Nivel:{FFFFFF}[%d] {FF8C00}Sexo:{FFFFFF}[%s] {FF8C00}Vida:{FFFFFF}[%.1f] {FF8C00}Dinheiro:{FFFFFF}[R$%d] {FF8C00}Banco:{FFFFFF}[R$%d] {FF8C00}Celular:{FFFFFF}[%d] {FF8C00}Crйditos:{FFFFFF}[%d]", level,atext,shealth+50.0, cash, Conta, pnumBPF,creditos);
                SendClientMessage(playerid, -1, MARCOSOWNAA);
                format(MARCOSOWNAA, sizeof(MARCOSOWNAA), "{FF8C00}Conta:{FFFFFF}[%s] {FF8C00}Casado Com:{FFFFFF}[%s] {FF8C00}Horas Jogadas:{FFFFFF}[%d] {FF8C00}Profissгo Secundaria:{FFFFFF}[%s]", drank,married,ptime,jtext);
                SendClientMessage(playerid, -1, MARCOSOWNAA);
                format(MARCOSOWNAA, sizeof(MARCOSOWNAA), "{FF8C00}Peixes:{FFFFFF}[%d] {FF8C00}Maior Peixe:{FFFFFF}[%d] {FF8C00}Crimes Cometidos:{FFFFFF}[%d] {FF8C00}Matou:{FFFFFF}[%d] {FF8C00}Morreu:{FFFFFF}[%d]", fishes,bigfish,crimes,kills,deaths );
                SendClientMessage(playerid, -1, MARCOSOWNAA);
                format(MARCOSOWNAA, sizeof(MARCOSOWNAA), "{FF8C00}Prуximo Nivel:{FFFFFF}[R$%d] {FF8C00}Respeito:{FFFFFF}[%d/%d] {FF8C00}Doenзas:{FFFFFF}[%s]", costlevel,exp,expquantidade,dtext);
                SendClientMessage(playerid, -1, MARCOSOWNAA);
                format(MARCOSOWNAA, sizeof(MARCOSOWNAA), "{FF8C00}Materiais:{FFFFFF}[%d] {FF8C00}Safe Materiais:{FFFFFF}[%d] {FF8C00}Organizaзгo:{FFFFFF}[%s] {FF8C00}Cargo:{FFFFFF}[%s]", materiaisPain,smats,NomeORG(targetid),rtext);
                SendClientMessage(playerid, -1, MARCOSOWNAA);
                format(MARCOSOWNAA, sizeof(MARCOSOWNAA), "{FF8C00}Maconha:{FFFFFF}[%d] {FF8C00}Cocaina:{FFFFFF}[%d] {FF8C00}Crack:{FFFFFF}[%d] {FF8C00}Safe Maconha:{FFFFFF}[%d] {FF8C00}Safe Cocaina:{FFFFFF}[%d] {FF8C00}Safe Crack:{FFFFFF}[%d]", Drogas,Drogas2,Drogas3,SafeDrogas,SafeDrogas2,SafeDrogas3);
                SendClientMessage(playerid, -1, MARCOSOWNAA);
                format(MARCOSOWNAA, sizeof(MARCOSOWNAA), "{FF8C00}Chave De Casa: {FFFFFF}[%d] {FF8C00}Chave Da Empresa {FFFFFF}[%d] {FF8C00}Chave Do Carro(Aluguel) {FFFFFF}[%d] {FF8C00}Interior:{FFFFFF}[%d] {FF8C00}Local:{FFFFFF}[%d]",Housekey,bizkey,HireCar[targetid],intir,local);
                SendClientMessage(playerid, -1, MARCOSOWNAA);
                format(MARCOSOWNAA, sizeof(MARCOSOWNAA), "{FF8C00}Veiculo 1{FFFFFF}[%d] {FF8C00}Veiculo 2{FFFFFF}[%d] {FF8C00}Veiculo 3{FFFFFF}[%d] {00BFFF}Simple Life v1.0",ChaveCarro, ChaveCarro2, ChaveCarro3);
                SendClientMessage(playerid, -1, MARCOSOWNAA);
            }
            else
            {
                SendClientMessage(playerid, COLOR_GRAD1, "   Vocк nгo estб logado !");
            }
        }
        return 1;
    }
Reply
#4

@RESOLVIDO MUITO OBRIGADO
Reply


Forum Jump:


Users browsing this thread: 3 Guest(s)