SA-MP Forums Archive
[Ajuda] Mudar o RG - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: Non-English (https://sampforum.blast.hk/forumdisplay.php?fid=9)
+--- Forum: Languages (https://sampforum.blast.hk/forumdisplay.php?fid=33)
+---- Forum: Português/Portuguese (https://sampforum.blast.hk/forumdisplay.php?fid=34)
+---- Thread: [Ajuda] Mudar o RG (/showthread.php?tid=495311)



Mudar o RG - Canema - 16.02.2014

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


Re: Mudar o RG - Gii - 16.02.2014

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);



Re: Mudar o RG - brunox - 16.02.2014

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;
    }



Re: Mudar o RG - Canema - 16.02.2014

@RESOLVIDO MUITO OBRIGADO