local exo_list={
"neytral_exo_gaz_outfit_m1",
"svoboda_yellow_exo_outfit_m1",
"exo_outfit",
"outfit_exo_m1"
}
local hud_tbl={
--hud_gaz
svoboda_gaz_outfit_m1="hud_gaz",
dolg_gaz_outfit_m1="hud_gaz",
neytral_gaz_outfit_m1="hud_gaz",
neytral_novice_gaz_outfit_m1="hud_gaz",
svoboda_heavy_gaz_outfit_m1="hud_gaz",
bandit_gaz_outfit_m1="hud_gaz",
--hud_exo
neytral_exo_gaz_outfit_m1="hud_exo",
svoboda_yellow_exo_outfit_m1="hud_exo",
exo_outfit="hud_exo",
outfit_exo_m1="hud_exo",
--hud_merc
killer_gaz_outfit_m1="hud_merc",
--hud_sci
dolg_scientific_outfit="hud_sci",
ecolog_outfit="hud_sci",
protection_outfit="hud_sci",
scientific_outfit="hud_sci",
--hud_military
military_outfit="hud_military",
militaryspec_outfit="hud_military"
}
local exo_list={
"neytral_exo_gaz_outfit_m1",
"svoboda_yellow_exo_outfit_m1",
"exo_outfit",
"outfit_exo_m1"
"killer_blue_exoskeleton"
"dolg_black_exoskeleton"
"svoboda_exoskeleton"
"monolit_exoskeleton"
"monolit_exoskeleton"
}
for k,v in pairs(exo_list) do
if tmp==v then
tmp1=true
break
end
end
if tmp1==false and weapon:section()=="wpn_pkm" then
db.actor:drop_item(weapon)
local tmpw = amk.spawn_item_in_inv("wpn_pkm")
db.actor:transfer_item(weapon,db.actor)
alife():release(tmpw)
end
if tmp1==false and weapon:section()=="wpn_wulcano" then
db.actor:drop_item(weapon)
local tmpa = amk.spawn_item_in_inv("wpn_wulcano")
db.actor:transfer_item(weapon,db.actor)
alife():release(tmpa)
end
if tmp1==false and weapon:section()=="wpn_mg3" then
db.actor:drop_item(weapon)
local tmpb = amk.spawn_item_in_inv("wpn_mg3")
db.actor:transfer_item(weapon,db.actor)
alife():release(tmpb)
end
Użytkownicy przeglądający to forum: Brak zarejestrowanych użytkowników oraz 3 gości