[Ajuda] Bug no /rg Morte e assasinatos so fica 0
#1

new bigfish = Player[targetid][pBiggestFish];
new arrests = Player[targetid][pArrested];
new mortes = Player[targetid][pDeaths];
new matadas = Player[targetid][pKills];
new drugs = Player[targetid][pDrugs];
new cigarro = Player[targetid][pCigarro];
new corda = Player[targetid][pCorda];
new plano = Player[targetid][pPlano];
new mats = Player[targetid][pMats];
new level = Player[targetid][pLevel];
new exp = Player[targetid][pExp];

new prank = 0;

if(GetPlayerOrg(targetid) != 0)
prank = Player[targetid][pRank];

new pnumber = Player[targetid][pPnumber];
new account = Player[targetid][pBank];
new nxtlevel = Player[targetid][pLevel]+1;
new expamount = nxtlevel*levelexp;
new aluguelkey = Player[playerid][pPaluguelkey];
new housekey = Player[targetid][pPhousekey];
new bizkey = Player[targetid][pPbiskey];
new atendimentos = Player[targetid][pAtend];

new Float:health;
GetPlayerHealth(targetid,health);
new Floatx,Floaty,Floatz;
GetPlayerPos(targetid, px, py, pz);
new coordsstring[128];
format(coordsstring, sizeof(coordsstring),"____________________________ ____________[ Meu RG %s ]________________________________________",Player[targetid][pName]);
SendClientMessage(playerid, COLOR_YELLOW,coordsstring);
format(coordsstring, sizeof(coordsstring), "Level:[%d] - Sexo:[%s] - R$:[%d] - Banco:[R$%d] - Tempo de Jogo:[%s] - Atendimentos:[%d]", level,atext,GetPlayerGP(targetid),account, Convert(Player[targetid][pConnectTime]),atendimentos);
SendClientMessage(playerid, COLOR_WHITE,coordsstring);
format(coordsstring, sizeof(coordsstring), "Trabalho:[%s] - Respeito:[%d/%d] - Tel:[%d] - Drogas:[%d] - Materiais:[%d] - Plano:[%d]", jtext,exp,expamount,pnumber,drugs,mats,plano);
SendClientMessage(playerid, COLOR_WHITE,coordsstring);
format(coordsstring, sizeof(coordsstring), "Chave de aluguel:[%d] - Chave da casa:[%d] - Chave da empresa:[%d] - Organizaзгo:[%s] - Cargo:[%s - %d]",aluguelkey, housekey, bizkey,ttext,rtext,prank);
SendClientMessage(playerid, COLOR_WHITE,coordsstring);
format(coordsstring, sizeof(coordsstring), "Maior Peixe:[%d] - Mortes:[%d] - Assassinatos:[%d] - Vezes Preso:[%d] - Cordas:[%d] - Cigarros:[%d] - Luta:[%s]", bigfish,mortes,matadas,arrests,corda,cigarro,estil oluta);
SendClientMessage(playerid, COLOR_WHITE,coordsstring);
Reply
#2

bota em [ pawn ] [ / pawn]
Reply
#3

como assim
Reply
#4

[ pawn ] antes do codigo e [ / pawn ] no final, sem espaзos.
Reply
#5

ai me pssa o seu msn
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)