Hi Leute,
Ich bekomme hier i.wie 5 Errors ich habe keine ahnung warum -.-
case WEAPON_DIALOG: {
format(dstring, sizeof(dstring),"{6600CC}|<-------Waffen------>|\
\nSniper Rifle [Preis: 10000€] [Munitions Preis: %d$]\
\nAk47 [Preis: 6150€] [Munitions Preis: %d$ ]\
\nM4 [Preis: 7200€] [Munitions Preis: %d$ ]\
\nCombat Shotgun [Preis: 9800€] [Munitions Preis: %d$ ]\
\nShotgun [Preis: 2500€] [Munitions Preis: %d$ ]\
\nDesert Eagle [Preis: 1500€] [Munitions Preis: %d$ ]\
\nMicro SMG [Preis: 4250€] [Munitions Preis: %d$ ]\
\nMP5 [Preis: 5250€] [Munitions Preis: %d$]\
\nSD-Pistole [Preis: 3000€] [Munitions Preis: %d$]",
SNIPER_PRICE,
ROCKET_PRICE,
MOLOTIV_PRICE,
C_SHOTGUN_PRICE,
S_SHOTGUN_PRICE,
DESERT_PRICE,
GRANADE_PRICE,
MP5_PRICE,
SD_PRICE);
/*new test[1023];
strcat(test,"{6600CC}|<-------Waffen------>| \n");
strcat(test,"Sniper Rifle [Preis: 10000€] [Munitions Preis: %d$] \n",SNIPER_PRICE);
strcat(test,"Ak47 [Preis: 6150€] [Munitions Preis: %d$ ] \n",ROCKET_PRICE);
strcat(test,"M4 [Preis: 7200€] [Munitions Preis: %d$ ] \n",MOLOTIV_PRICE);
strcat(test,"Combat Shotgun [Preis: 9800€] [Munitions Preis: %d$ ] \n",C_SHOTGUN_PRICE);
strcat(test,"Shotgun [Preis: 2500€] [Munitions Preis: %d$ ] \n",S_SHOTGUN_PRICE);
strcat(test,"Desert Eagle [Preis: 1500€] [Munitions Preis: %d$ ] \n",DESERT_PRICE);
strcat(test,"Micro SMG [Preis: 4250€] [Munitions Preis: %d$ ] \n",GRANADE_PRICE);
strcat(test,"MP5 [Preis: 5250€] [Munitions Preis: %d$ \n",MP5_PRICE);
strcat(test,"SD-Pistole [Preis: 5250€] [Munitions Preis: %d$ \n",SD_PRICE); */
ShowPlayerDialog(playerid, dialog, DIALOG_STYLE_LIST,"{003399}W{00FF66}affenladen",dstring,"Weiter","Abbrechen");
EDIT: Sry Errors vergessen
(301) : error 075: input line too long (after substitutions)
(302) : error 037: invalid string (possibly non-terminated string)
(302) : error 029: invalid expression, assumed zero
(302) : error 029: invalid expression, assumed zero
(302) : fatal error 107: too many error messages on one line
Compilation aborted.Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase
5 Errors.
Error Zeilen :
302 :
\nSD-Pistole [Preis: 3000€] [Munitions Preis: %d$]",
301:
\nMP5 [Preis: 5250€] [Munitions Preis: %d$]\