23.08.2008, 09:58
Hallo ich habe schon viel über neue Einheiten gelesen,nun meine frage wie füge ich welche in dslan hinzu
auf antwort freue ich mich
mfg patrick
auf antwort freue ich mich
mfg patrick
Quote:$cl_units->add_unit("Kriegselefant","unit_War elephant");
$cl_units->set_woodprice("100");
$cl_units->set_stoneprice("50");
$cl_units->set_ironprice("300");
$cl_units->set_bhprice("2");
$cl_units->set_time("1000");
$cl_units->set_att("10","1.045");
$cl_units->set_def("15","1.045");
$cl_units->set_defcav("45","1.045");
$cl_units->set_defarcher("20","1.045");
$cl_units->set_speed("720");
$cl_units->set_booty("25");
$cl_units->set_needed(array());
$cl_units->set_recruit_in("stable");
$cl_units->set_specials(array());
$cl_units->set_group("foot");
$cl_units->set_col("A");
$cl_units->set_attType("def");
$cl_units->set_description("hello");
Quote:ERROR: Unbekannte Interpunktion @ 46
STR: ->
SQL: SELECT * FROM `unit_place` WHERE 11
$cl_units->add_unit("Kriegselefant","unit_War elephant");
SQL-Befehl: Dokumentation
SELECT * FROM `unit_place` WHERE 11 $cl_units->add_unit("Kriegselefant","unit_War elephant");
MySQL meldet: Dokumentation
#1064 - You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '$cl_units->add_unit("Kriegselefant","unit_War elephant")' at lin
(21.10.2008, 17:56)Hartenfels2 Wrote: [ -> ]gute frage^^ keine ahnung...Gibs für sowas nich Verwarnungen? xD