28.10.2013, 19:56
pawn Код:
new married[20];
strmid(married, PlayerInfo[targetid][pMarriedTo], 0, strlen(PlayerInfo[targetid][pMarriedTo]), 255);
//new age = PlayerInfo[targetid][pAge];
new ptime = PlayerInfo[targetid][pConnectTime];
//new lotto = PlayerInfo[targetid][pLottoNr];
new crimes = PlayerInfo[targetid][pCrimes];
new Drogas = PlayerInfo[targetid][pDrogas]; // maconha
new Drogas2 = PlayerInfo[targetid][pDrogas2]; // cocaina
new Drogas3 = PlayerInfo[targetid][pDrogas3]; // crack
new SafeDrogas = PlayerInfo[targetid][pSafeDrogas]; // maconha
new SafeDrogas2 = PlayerInfo[targetid][pSafeDrogas2]; // cocaina
new SafeDrogas3 = PlayerInfo[targetid][pSafeDrogas3]; // crack
new mats = PlayerInfo[targetid][pMats];
new smats = PlayerInfo[targetid][psMats];
//new wanted = WantedLevel[targetid];
new level = PlayerInfo[targetid][pLevel];
new exp = PlayerInfo[targetid][pExp];
new avisos = PlayerInfo[targetid][pWarns];
new pnumber = PlayerInfo[targetid][pPnumber];
new Conta = PlayerInfo[targetid][pConta];
new nxtlevel = PlayerInfo[targetid][pLevel]+1;
new expquantidade = nxtlevel*levelexp;
new costlevel = nxtlevel*levelcost;//10k for testing purposes
new Housekey = PlayerInfo[targetid][pPHousekey];
new bizkey = PlayerInfo[targetid][pPbiskey];
new local = PlayerInfo[targetid][pLocal];
new Float:health;
new creditos = PlayerInfo[targetid][pCreditos];
new name[MAX_PLAYER_NAME];
GetPlayerName(targetid, name, sizeof(name));
GetPlayerHealth(targetid,health);
new Float:px,Float:py,Float:pz;
new string[256];
new playername[MAX_PLAYER_NAME];
GetPlayerName(playerid,playername,sizeof(playername));
GetPlayerPos(targetid, px, py, pz);
SendClientMessage(playerid, COLOR_WHITE, "__________________________________________________________________________________");
format(gstring, sizeof(gstring),"Personagem: %s ",name);
SendClientMessage(playerid, COR_VAGOS,gstring);
format(gstring, sizeof(gstring), "Level:[%d] Sexo:[%s] Dinheiro:[R$%d] Banco:[R$%d] Crйditos:[%d] Conta:[%s]", level,atext, cash, Conta, creditos,drank);
SendClientMessage(playerid, COLOR_LIGHTBLUE,gstring);
format(gstring, sizeof(gstring), "Casado Com:[%s] Horas Jogadas:[%d] Celular:[%d] Local:[%d] ", married,ptime,pnumber,local);
SendClientMessage(playerid, COLOR_LIGHTBLUE,gstring);
format(gstring, sizeof(gstring), "Valor Level:[R$%d] Crimes:[%d] Avisos:[%d] Doenзa:[%s]", costlevel,crimes,avisos,dtext);
SendClientMessage(playerid, COLOR_LIGHTBLUE,gstring);
format(gstring, sizeof(gstring), "Respeito:[%d/%d] Emprego:[%s] Organizaзгo:[%s] Cargo:[%s] Materiais:[%d] S.Materiais:[%d]",exp,expquantidade,jtext,NomeORG(targetid),rtext,mats,smats);
SendClientMessage(playerid, COLOR_LIGHTBLUE,gstring);
format(gstring, sizeof(gstring), "Maconha:[%d] Cocaina:[%d] Crack:[%d] S.Maconha:[%d] S.Cocaina:[%d] S.Crack:[%d]",Drogas,Drogas2,Drogas3,SafeDrogas,SafeDrogas2,SafeDrogas3);
SendClientMessage(playerid, COLOR_LIGHTBLUE,gstring);
format(gstring, sizeof(gstring), "Chave Casa:[%d] Chave Empresa:[%d] Chave Carro Aluguel:[%d]", Housekey,bizkey,HireCar[targetid]);
SendClientMessage(playerid, COLOR_LIGHTBLUE,gstring);
SendClientMessage(playerid, COLOR_WHITE, "__________________________________________________________________________________");
format(string, sizeof(string), "* %s Abre a carteira e confere sua Identidade(RG) !", playername);
ProxDetector(30.0, playerid, string, COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE,COLOR_PURPLE);
}
}
Acho que essa sao as linha do rg ajuda porfavor