Mam problem z tablicą działa ona prawidłowo jednak kompilator wywala 18 Warnings:
Warning: Tag mismatch on line 291 Warning: Tag mismatch on line 291 Warning: Tag mismatch on line 292 Warning: Tag mismatch on line 292 Warning: Tag mismatch on line 293 Warning: Tag mismatch on line 293 Warning: Tag mismatch on line 294 Warning: Tag mismatch on line 294 Warning: Tag mismatch on line 295 Warning: Tag mismatch on line 295 Warning: Tag mismatch on line 296 Warning: Tag mismatch on line 296 Warning: Tag mismatch on line 297 Warning: Tag mismatch on line 297 Warning: Tag mismatch on line 298 Warning: Tag mismatch on line 298 Warning: Tag mismatch on line 299 Warning: Tag mismatch on line 299
Oto tablica:
new const RASY[9][5][] = { { "Brak", "sm_zombie", "models/v_knife_sm_zombie.mdl", {102.00, 1.00, 1200, 0}, "-" }, //291 linijka kodu { "Zombie", "sm_zombie", "models/v_knife_sm_zombie.mdl", {105.00, 1.90, 9600, 0}, "-" }, { "Snork", "snork", "models/v_snork_hands.mdl", {410.00, 8.00, 2100, 0}, "+" }, { "Kontroller", "controller", "models/v_controller.mdl", {247.00, 7.90, 2500, 0}, "+" }, { "Pijawka", "krovosos", "models/v_krovosos_hands.mdl", {257.00, 1.60, 9000, 8}, "+" }, { "Nibyolbrzym", "psevdogigant", "models/v_psevdogigant_hands.mdl", {225.00, 2.10, 3600, 4}, "-" }, { "Poltergeist", "poltergeist", "models/v_poltergeist_hands.mdl", {240.00, 1.50, 2450, 5}, "+" }, { "Rdoent", "sm_zombie", "models/v_knife_zombie.mdl", {825.00, 0.60, 2800, 0}, "-" }, { "Burer", "sm_zombie", "models/v_knife_zombie.mdl", {620.00, 1.40, 2200, 1}, "-" } //299 linijka kodu }
Dodam jeszcze, że jak usunę liczby init i float i zostawię same string to wtedy nie ma żadnego powiadomienia.
Jednak zależy mi na tym by było to w jednaj tablicy.
Proszę o pomoc.