Hallo liebe Scripter, Mapper
Ich habe hier proleme mit /stats..
Also im Script sieht es so aus:
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],string15[200],string16[200],string17[200],string18[200],string19[200],string20[200],string21[200],string22[200],string23[200],string24[200],string25[200],string26[200],string27[200],string28[200],string29[200],string30[200],string31[200],string32[200],string33[200],string34[200],rest[1500];
format(string1, sizeof string1, " {0000FF}Stats von [%s]{FFFFFF}", name);
format(string2, sizeof string2, " Personalien: Geschlecht: [%s]", atext);
format(string3, sizeof string3, " Partner: [%s]", married);
format(string4, sizeof string4, " Alter: [%d]", age);
format(string5, sizeof string5, "");
format(string6, sizeof string6, " Level: [%d]", level);
format(string7, sizeof string7, " Respekt: [%d / %d]", exp,expamount);
format(string8, sizeof string8, " Payday: [%d]/60 ", 60-PlayerInfo[targetid][pPlayMinutes]);
format(string9, sizeof string9, " Nächstes Level: [%d$]", costlevel);
format(string10, sizeof string10, "");
format(string11, sizeof string11, "Berufe: Fraktion: [%s] Rang: [%s]", ftext,f2text);
format(string12, sizeof string12, " Nebenjob: [%s]", jtext);
format(string13, sizeof string13, "");
format(string14, sizeof string14, "Finanzen: Bargeld: [%d$]",cash );
format(string15, sizeof string15, " Konto: [%d$]", account);
format(string16, sizeof string16, "");
format(string17, sizeof string17, "Statistik: Spielzeit: [%d]", ptime);
format(string18, sizeof string18, " Morde: [%d]", kills);
format(string19, sizeof string19, " Gestorben: [%d]", deaths);
format(string20, sizeof string20, " Wanteds: [%d]", wanted);
format(string21, sizeof string21, " Verbrechen: [%d]", crimes);
format(string22, sizeof string22, " Knast: [%d]", arrests);
format(string23, sizeof string23, " Verwarnungen: [%d]", PlayerInfo[targetid][pWarns]);
format(string24, sizeof string24, "");
format(string25, sizeof string25, "Inventar: Materialien: [%d] (Safe: [%d])", mats,boxmats);
format(string26, sizeof string26, " Drogen: [%d] (Safe: [%d])", drugs,boxdrugs);
format(string27, sizeof string27, " Handy (Nr. [%d])", pnumber);
format(string28, sizeof string28, " Hausschlüssel: [%d]", housekey);
format(string29, sizeof string29, " Geschäftschlüssel: [%d]", bizkey);
format(string30, sizeof string30, "");
format(string31, sizeof string31, "Skills: Pilot: [%d]", PlayerInfo[targetid][pFlugTime]/60);
format(string32, sizeof string32, " Müllmann: [%d]", PlayerInfo[targetid][pMulltime]/60);
format(string33, sizeof string33, "");
format(string34, sizeof string34, "Premium: [%s]", drank);
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,string15,string16,string17,string18,string19,string20,string21,string22,string23,string24,string25,string26,string27,string28,string29,string30,string31,string32,string33,string34);
ShowPlayerDialog(playerid,30,DIALOG_STYLE_MSGBOX,"Schließen","");
}
return 1;
}
Habe 0 Errors nur 15 Warns und die sind :
C:\Users\Admin\Desktop\samp03dsvr_R2\samp03\gamemodes\korsanclan.pwn(5499) : warning 202: number of arguments does not match definition
C:\Users\Admin\Desktop\samp03dsvr_R2\samp03\gamemodes\korsanclan.pwn(5499) : warning 202: number of arguments does not match definition
C:\Users\Admin\Desktop\samp03dsvr_R2\samp03\gamemodes\korsanclan.pwn(5499) : warning 202: number of arguments does not match definition
C:\Users\Admin\Desktop\samp03dsvr_R2\samp03\gamemodes\korsanclan.pwn(5499) : warning 202: number of arguments does not match definition
C:\Users\Admin\Desktop\samp03dsvr_R2\samp03\gamemodes\korsanclan.pwn(5499) : warning 202: number of arguments does not match definition
C:\Users\Admin\Desktop\samp03dsvr_R2\samp03\gamemodes\korsanclan.pwn(5499) : warning 202: number of arguments does not match definition
C:\Users\Admin\Desktop\samp03dsvr_R2\samp03\gamemodes\korsanclan.pwn(5499) : warning 202: number of arguments does not match definition
C:\Users\Admin\Desktop\samp03dsvr_R2\samp03\gamemodes\korsanclan.pwn(6263) : warning 225: unreachable code
C:\Users\Admin\Desktop\samp03dsvr_R2\samp03\gamemodes\korsanclan.pwn(11293) : warning 202: number of arguments does not match definition
C:\Users\Admin\Desktop\samp03dsvr_R2\samp03\gamemodes\korsanclan.pwn(11293) : warning 202: number of arguments does not match definition
C:\Users\Admin\Desktop\samp03dsvr_R2\samp03\gamemodes\korsanclan.pwn(12713) : warning 216: nested comment
C:\Users\Admin\Desktop\samp03dsvr_R2\samp03\gamemodes\korsanclan.pwn(12717) : warning 216: nested comment
C:\Users\Admin\Desktop\samp03dsvr_R2\samp03\gamemodes\korsanclan.pwn(12719) : warning 216: nested comment
C:\Users\Admin\Desktop\samp03dsvr_R2\samp03\gamemodes\korsanclan.pwn(16373) : warning 216: nested comment
C:\Users\Admin\Desktop\samp03dsvr_R2\samp03\gamemodes\korsanclan.pwn(54963) : warning 225: unreachable code
Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
Header size: 14672 bytes
Code size: 2586052 bytes
Data size: 26876196 bytes
Stack/heap size: 32768 bytes; estimated max. usage: unknown, due to recursion
Total requirements:29509688 bytes
15 Warnings.
Wenn ich jetzt server starte und inGame /stats eingebe steht da:
Bitte um hilfe *-*
______________________________________________________________
und suche noch mapper..
Wenn einer interesse hat bitte hier joinen:
Ts³: korsan-camp.com:9999