PDA

View Full Version : help


POL_george
13/04/2012, 05:22 AM
new coordsstring[256];//256
new finalstring[2048];
/////////////////////////////////////////////
//SendClientMessage(playerid, COLOR_LIGHTGREEN,"__________________________________________________ ______________________________________________");
format(coordsstring, sizeof(coordsstring),"^^ %s [Bufturi.George]", name);
//SendClientMessage(playerid, COLOR_WHITE,coordsstring);
strcat(finalstring, coordsstring, sizeof(coordsstring));
format(coordsstring, sizeof(coordsstring), "\nLevel[%d] || Sex[%s] || Age[%d] || Spawn[%s] || Cash[$%d] || Bank[$%d]", level,atext,age,otext, cash, account);
//SendClientMessage(playerid, 0xFF2F00AA,coordsstring);
strcat(finalstring, coordsstring, sizeof(coordsstring));
format(coordsstring, sizeof(coordsstring), "\nDonateRank[%s] || MarriedTo[%s] || PlayingHours[%d] || LottoNr[%d] || Job[%s] || Phone[%d]", drank,married,ptime,lotto,jtext, pnumber);
//SendClientMessage(playerid, 0xFF4D00AA,coordsstring);
strcat(finalstring, coordsstring, sizeof(coordsstring));
format(coordsstring, sizeof(coordsstring), "\nCrimesCommited[%d] || TimesArrested[%d] || WantedDeaths[%d] || WantedLevel[%d]",crimes,arrests,warrests,wanted);
//SendClientMessage(playerid, 0xFF6F00AA,coordsstring);
strcat(finalstring, coordsstring, sizeof(coordsstring));
format(coordsstring, sizeof(coordsstring), "\nKills:[%d] || Deaths[%d] || NextLevel[$%d] || Respect[%d/%d] || SpawnHealth[%.1f]",kills,deaths,costlevel,exp,expamount,shealth+50);
//SendClientMessage(playerid, 0xFF8400AA,coordsstring);
strcat(finalstring, coordsstring, sizeof(coordsstring));
format(coordsstring, sizeof(coordsstring), "\nDrugs:[%d] || Materials[%d] || Team[%s] || Disease[%s] || Organisation[%s] || Rank[%s]",drugs,mats,ttext,dtext,ftext,rtext);
//SendClientMessage(playerid, 0xFF8400AA,coordsstring);
strcat(finalstring, coordsstring, sizeof(coordsstring));
format(coordsstring, sizeof(coordsstring), "\nWarns:[%d/5] || Health[%.1f] || AdminLevel[%d] || AsistentLevel[%d] || Points[%d] || Faction Warns[%d]",warns,health,admlvl,Asistentlvl,points,facwarns);
//SendClientMessage(playerid, 0xFF9D00AA,coordsstring);
strcat(finalstring, coordsstring, sizeof(coordsstring));
format(coordsstring, sizeof(coordsstring), "\nHouse key[%d]|| Bizz key[%d] || HireKey[%d] || Interior[%d] || Local[%d]", housekey,bizkey,HireCar[targetid],intir,local);
//SendClientMessage(playerid, 0xFF9D00AA,coordsstring);
ShowPlayerDialog(playerid, 14345, DIALOG_STYLE_MSGBOX, "Stats", finalstring, "OK", "Close");
//SendClientMessage(playerid, COLOR_LIGHTGREEN,"__________________________________________________ ______________________________________________");
}
}

imi arata pana la TimeArr nu pana la TimeArrest pana la TimeArr

eDz0r
13/04/2012, 07:01 AM
mai mareste si coordsstring poate o sa mearga

new coordsstring[512];

da nu trebuia sa faci topic nou.. ca il verificam pe primu

EDIT 1: am vazut ca e locked... mai bn da-mi mie comanda cu totu' de sus pana jos

gabitzu4ever
13/04/2012, 07:42 AM
citeste ma AICI (http://www.xdevil.ro/forum/viewtopic.php?f=73&t=477) vezi ce zice de dialog streamer

eDz0r
13/04/2012, 07:58 AM
BIG EDIT:

new coordsstring[125], finalstring[1024];

format(finalstring, sizeof(finalstring),"^^ %s [Bufturi.George]", name);
format(finalstring, sizeof(finalstring), "%s\nLevel[%d] || Sex[%s] || Age[%d] || Spawn[%s] || Cash[$%d] || Bank[$%d]", level, atext, age, otext, cash, account);
format(finalstring, sizeof(finalstring), "%s\nDonateRank[%s] || MarriedTo[%s] || PlayingHours[%d] || LottoNr[%d] || Job[%s] || Phone[%d]", finalstring, drank, married, ptime, lotto, jtext, pnumber);
format(finalstring, sizeof(finalstring), "%s\nCrimesCommited[%d] || TimesArrested[%d] || WantedDeaths[%d] || WantedLevel[%d]", finalstring, crimes, arrests, warrests, wanted);
format(finalstring, sizeof(finalstring), "%s\nKills:[%d] || Deaths[%d] || NextLevel[$%d] || Respect[%d/%d] || SpawnHealth[%.1f], finalstring", kills, deaths, costlevel, exp, expamount, shealth+50);
format(finalstring, sizeof(finalstring), "%s\nDrugs:[%d] || Materials[%d] || Team[%s] || Disease[%s] || Organisation[%s] || Rank[%s], finalstring", drugs, mats, ttext, dtext, ftext, rtext);
format(finalstring, sizeof(finalstring), "%s\nWarns:[%d/5] || Health[%.1f] || AdminLevel[%d] || AsistentLevel[%d] || Points[%d] || Faction Warns[%d], finalstring", warns, health, admlvl, Asistentlvl, points, facwarns);
format(finalstring, sizeof(finalstring), "%s\nHouse key[%d]|| Bizz key[%d] || HireKey[%d] || Interior[%d] || Local[%d]", finalstring, housekey, bizkey, HireCar[targetid], intir, local);

ShowPlayerDialog(playerid, 14345, DIALOG_STYLE_MSGBOX, "Stats", finalstring, "OK", "Close");


in caz ca nu iti arata tot textul pana la capatul propozitiei mareste coordsstring si in caz ca nu arata pana jos mareste din nou finalstring

creditele merg la gabitzu