11.11.2008, 21:20
jetzt habe ich sowas drin in der Karte:
{foreach from=$y_coords item=y} {$y} {foreach from=$x_coords item=x} {if !$cl_map->getVillage($x,$y)} {else} getcon($x,$y)}', {$cl_map->getvillage($x,$y,points)}, {$cl_map->playerinfo($x,$y)}, {$cl_map->getally($x,$y)}, false)" onmouseout="map_kill()" alt="" /> {/if} {/foreach}
{/foreach} {foreach from=$x_coords item=x} {$x} {/foreach}
{foreach from=$y_coords item=y} {$y} {foreach from=$x_coords item=x} {if !$cl_map->getVillage($x,$y)} {else} getcon($x,$y)}', {$cl_map->getvillage($x,$y,points)}, {$cl_map->playerinfo($x,$y)}, {$cl_map->getally($x,$y)}, false)" onmouseout="map_kill()" alt="" /> {/if} {/foreach}
{/foreach} {foreach from=$x_coords item=x} {$x} {/foreach}