SendClientMessage(playerid, COR_TT,"______________________________________________________________________________"); format(coordsstring, sizeof(coordsstring), "Nome: [%s] Nivel:[%d] Sexo:[%s] Vida:[%.1f] Dinheiro:[R$%d] Banco:[R$%d] Celular:[%d]", name, level, atext, shealth+50, cash, Conta, pnumber); SendClientMessage(playerid, COR_MC,coordsstring); format(coordsstring, sizeof(coordsstring), "Conta:[%s] Casado Com:[%s] Horas Jogadas:[%d] Emprego:[%s] Peixes:[%d] Maior Peixe:[%d]", drank, married, ptime, jtext, fishes, bigfish); SendClientMessage(playerid, COR_MC,coordsstring); format(coordsstring, sizeof(coordsstring), "Valor Nivel:[R$%d] Experiencia:[%d/%d] Familia:[%s] Doenзas:[%s] Crimes Cometidos:[%d]", costlevel, exp, expquantidade, fatext, dtext, crimes); SendClientMessage(playerid, COR_MC,coordsstring); format(coordsstring, sizeof(coordsstring), "Materiais:[%d] Organizaзгo:[%s] Cargo:[%s] Drogas:[%d]", mats, ftext, rtext, Drogas); SendClientMessage(playerid, COR_MC,coordsstring); if (PlayerInfo[playerid][pAdmin] >= 1) { format(coordsstring, sizeof(coordsstring), "Chave De Casa [%d] Chave Da Empresa [%d] Chave Do Carro(Aluguel) [%d] Interior:[%d] Local:[%d]", Housekey,bizkey,HireCar[targetid],intir,local); SendClientMessage(playerid, COR_MC,coordsstring); } SendClientMessage(playerid, COR_TT,"______________________________________________________________________________"); } }
if (strcmp(cmd, "/rg", true) == 0) { if(IsPlayerConnected(playerid)) { if (gPlayerLogged[playerid] != 0) { ShowStats(playerid,playerid); GetPlayerName(playerid, sendername, sizeof(sendername)); format(string, sizeof(string), "* %s Abre sua carteira e confere o seu registro.", sendername); ProxDetector(30.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPL E,COLOR_PURPLE); } else { SendClientMessage(playerid, COLOR_GRAD1, " Voce nao esta logado !"); } } return 1; } |
new RulesBox[2000];
//SendClientMessage(playerid, COLOR_WHITE,"______________________________________________________________________________");
format(RulesBox, sizeof(RulesBox),"%s\n%s\n",RulesBox,name);
format(RulesBox, sizeof(RulesBox), "%s\nLevel:[%d] Sexo:[%s] Origem:[%s] Vida:[%.1f] Dinheiro:[R$%d] Banco:[R$%d] Celular:[%d]\n", RulesBox, level,atext,otext,shealth+50, cash, Conta, pnumber);
format(RulesBox, sizeof(RulesBox), "%s\nTipo de Conta:[%s] Casado Com:[%s] Horas Jogadas:[%d] Profissao Segundaria:[%s]\n", RulesBox,drank,married,ptime,jtext);
format(RulesBox, sizeof(RulesBox), "%s\nPeixes:[%d] Maior Peixe:[%d] Crimes Cometidos:[%d] Matou:[%d] Morreu:[%d]\n", RulesBox,fishes,bigfish,crimes,kills,deaths );
format(RulesBox, sizeof(RulesBox), "%s\nValor Level:[R$%d] Respeito:[%d/%d] Familia:[%s] Doencas:[%s]\n",RulesBox,costlevel,exp,expquantidade,fatext,dtext);
format(RulesBox, sizeof(RulesBox), "%s\nMateriais:[%d] Safe Materiais:[%d] Emprego:[%s] Organizacao:[%s] Cargo:[%s]\n",RulesBox,mats,smats,ttext,ftext,rtext);
format(RulesBox, sizeof(RulesBox), "%s\nMaconha:[%d] Cocaina:[%d] Crack:[%d] Safe Maconha:[%d] Safe Cocaina:[%d] Safe Crack:[%d]\n",RulesBox,Drogas,Drogas2,Drogas3,SafeDrogas,SafeDrogas2,SafeDrogas3);
format(RulesBox, sizeof(RulesBox), "%s\nChave De Casa:[%d] Chave Da Empresa:[%d] Chave Do Carro Alugado:[%d] Interior:[%d] Local:[%d]\n", RulesBox,Housekey,bizkey,HireCar[targetid],intir,local);
format(RulesBox, sizeof(RulesBox), "%s\nChave do Veiculo:[%d] Placa do Veiculo:[%d]\n", RulesBox,PlayerInfo[playerid][pCarKey],PlayerInfo[playerid][pVeiculo]);
ShowPlayerDialog(playerid, 5222, DIALOG_STYLE_MSGBOX, "RG", RulesBox, "Ok", "Voltar");
//SendClientMessage(playerid, COLOR_WHITE,"______________________________________________________________________________");
format(coordsstring, sizeof(coordsstring), "Nome: [%s] Nivel:[%d] Sexo:[%s] Vida:[%.1f] Dinheiro:[R$%d] Banco:[R$%d] Celular:[%d]", name, level, atext, shealth+50, cash, Conta, pnumber);
format(coordsstring, sizeof(coordsstring), "Conta:[%s] Casado Com:[%s] Horas Jogadas:[%d] Emprego:[%s] Peixes:[%d] Maior Peixe:[%d]", drank, married, ptime, jtext, fishes, bigfish);
format(coordsstring, sizeof(coordsstring), "Valor Nivel:[R$%d] Experiencia:[%d/%d] Familia:[%s] Doenзas:[%s] Crimes Cometidos:[%d]", costlevel, exp, expquantidade, fatext, dtext, crimes);
format(coordsstring, sizeof(coordsstring), "Materiais:[%d] Organizaзгo:[%s] Cargo:[%s] Drogas:[%d]", mats, ftext, rtext, Drogas);
if (PlayerInfo[playerid][pAdmin] >= 1)
{
format(coordsstring, sizeof(coordsstring), "Chave De Casa [%d] Chave Da Empresa [%d] Chave Do Carro(Aluguel) [%d] Interior:[%d] Local:[%d]", Housekey,bizkey,HireCar[targetid],intir,local);
}
ShowPlayerDialog(playerid, 5222, DIALOG_STYLE_MSGBOX, "RG", coordsstring, "Ok", "Voltar");
}
}