Mam problem z podmianą kodu:
Z:
new Time[128], len1 = 0 if (godziny>= 1) { len1 += format(Time[len1], 127 -len1, "%d godzin. ",godziny) } if (minuty>= 1) { len1 += format(Time[len1], 127 -len1, "%d minut. ", minuty) }
Na
new Time[128] if (godziny>= 1) { format(,"%d godzin. ",godziny) } if (minuty>= 1) { format(,"%d minut. ", minuty) }
Blędy: Error: Invalid expression, assumed zero on line 9307Warning: Expression has no effect on line 9307 Warning: Expression has no effect on line 9307 Error: Expected token: ";", but found ")" on line 9307 Error: Invalid expression, assumed zero on line 9307 Error: Too many error messages on one line on line 9307
Druga kwestia:
if(player_skill[id] == NiekonczonaAmunicja && clip == 0) { refill_ammo(id,0) }
Błędy: Error: Number of arguments does not match definition on line 1139
Trzecia kwestia:
new Race[ILE_KLAS][9] = { "Brak", "Czarodziej", "Druid", "Paladyn", "Zabojca", "Nekromanta", "Wojownik", "Ninja", "Lowca"}
Błędy: Error: Initialization data exceeds declared size on line 273