Hallo
Ich hab mein /stats ShowPlayerDialog zu SendClientMessage gemacht.
Jetzt alles funzt richtig nur mein Server Restartet.
Zeilen:
new string1[200],string2[200],string3[200],string4[200],string5[200],string6[200],string7[200],string8[200],string9[200],string10[200],string11[200],string12[200],string13[200],string14[200],rest[1500];
format(string1, sizeof string1, "Statistiken von {00FFFF}%s", name);
format(string2, sizeof string2, "{00FFFF}Daten:");
format(string3, sizeof string3, "{00FFFF}Level {FFFFFF}[%d] {00FFFF}Geschlecht {FFFFFF}[%s] {00FFFF}Alter {FFFFFF}[%d] {00FFFF}Spawnhealth {FFFFFF}[%.1f] {00FFFF}Verheiratet mit {FFFFFF}[%s] {00FFFF}Telefonnummer {FFFFFF}[%d]", level,atext,age,otext,shealth+50.0,married,pnumber);
format(string4, sizeof string4, "{00FFFF}Größter Fisch {FFFFFF}[%d] {00FFFF}Verbrechen {FFFFFF}[%d] {00FFFF}Gefängniszeiten {FFFFFF}[%d] {00FFFF}Kosten für nächstes Level {FFFFFF}[%d$] {00FFFF}Spielminuten seit Login {FFFFFF}[%d / %d]", bigfish,crimes,arrests,costlevel,PlayerInfo[targetid][pMinutesSinceLogin],PlayerInfo[targetid][pGesamtMinutes]);
format(string5, sizeof string5, "{00FFFF}Kreditraten verbleibend {FFFFFF}[%d] {00FFFF}Summe {FFFFFF}[%d] {00FFFF}Spielminuten bis Payday {FFFFFF}[%d]", PlayerInfo[targetid][pPlayerKreditDauer], PlayerInfo[targetid][pPlayerKredit], 60-PlayerInfo[targetid][pPlayMinutes]);
format(string6, sizeof string6, "{00FFFF}Besitztum");
format(string7, sizeof string7, "{00FFFF}Premium Rang [%s] {00FFFF}Spielzeit {FFFFFF}[%d] {00FFFF}Lottonummer [%d] {00FFFF}Wantedlevel {FFFFFF}[%d] {00FFFF}Krankheit {FFFFFF}[%s] {00FFFF}Gefangene Fische [%d] {00FFFF}Kills [%d] {00FFFF}Deaths [%d]", drank,ptime,lotto,wanted,dtext,fishes,kills,deaths);
format(string8, sizeof string8, "{00FFFF}Bargeld {FFFFFF}[%d$] {00FFFF}Bankkonto {FFFFFF}[%d$] {00FFFF}Drogen {FFFFFF}[%d] {00FFFF}Materialien {FFFFFF}[%d] {00FFFF}Box Materialien {FFFFFF}[%d] {00FFFF}Box Drogen {FFFFFF}[%d] {00FFFF}Respektpunkte {FFFFFF}[%d / %d]", cash,account,drugs,mats,boxmats,boxdrugs,exp,expamount);
format(string9, sizeof string9, "{00FFFF}Fraktion & Job");
format(string10, sizeof string10, "{00FFFF}Fraktion: {FFFFFF}[%s] {00FFFF}Organisation {FFFFFF}[%s] {00FFFF}Rang {FFFFFF}[%s] {00FFFF}Familie {FFFFFF}[%s] {00FFFF}Job {FFFFFF}[%s] {00FFFF}Payday: {FFFFFF}[%d$] {00FFFF}Fraktionsmaterialien: {FFFFFF}[%d]", ttext,ftext,rtext,f2text,jtext,PlayerInfo[targetid][pGehalt], FrakMatsHolding[targetid]);
format(string11, sizeof string11, "{00FFFF}Informationen");
format(string12, sizeof string12, "{00FFFF}Hausschlüssel [%d] {00FFFF}Geschäftsschlüssel [%d] {00FFFF}Interior [%d] {00FFFF}Gebäude [%d]", housekey,bizkey,intir,local);
format(string13, sizeof string13, "{00FFFF}Zeit bis zum nächsten Flug {FFFFFF}[%d] (Job Pilot) {00FFFF}Zeit bis zur nächsten Fahrt {FFFFFF}[%d] (Job Müllmann)", PlayerInfo[targetid][pFlugTime]/60, PlayerInfo[targetid][pMulltime]/60);
format(string14, sizeof string14, "{00FFFF}Lebenspunkte {FFFFFF}[%.2f] {00FFFF}Schutzweste {FFFFFF}[%.2f] {00FFFF}Ping {FFFFFF}[%d] {00FFFF}Verwarnungen {FFFFFF}[%d]", plHealth,plArmour,GetPlayerPing(targetid),PlayerInfo[targetid][pWarns]);
format(rest, sizeof rest, "%s\n\n\n%s\n%s\n%s\n%s\n\n%s\n%s\n%s\n\n%s\n%s\n\n%s\n%s\n%s\n%s", string1,string2,string3,string4,string5,string6,string7,string8,string9,string10,string11,string12,string13,string14);
SendClientMessage(playerid, COLOR_WHITE, rest);
}
return 1;
}
MfG