На сайте онлайн (человек): 68
Удалять нужно не только установленные, но и все щиты которые совместимы с данным кораблем.
$ShieldType = $obj -> get max. shield type that can be installed$ShieldMainType = get maintype of ware $ShieldType$ShieldSubType = get subtype of ware $ShieldType$i=0while $i<=$ShieldSubType $ShieldType = get ware from maintype $ShieldMainType and subtype $i $ShieldCount= $obj -> get amount of ware $ShieldType in cargo bay $ShieldCount=-$ShieldCount = $obj -> add $ShieldCount units of $ShieldType inc $i=end
$obj -> set current shield strength to 0
дерево темы → Уроки танцев на СКРИПТАХ от MistR (От чайника для чайника) Уроки танцев на СКРИПТАХ от MistR (От чайника для чайника) » Список игр