Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- local weapons_sections = {
- "wpn_abakan",
- "wpn_ak74",
- "wpn_ak74u",
- "wpn_beretta",
- "wpn_bm16",
- "wpn_colt1911",
- "wpn_desert_eagle",
- "wpn_fn2000",
- "wpn_fort",
- "wpn_g36",
- "wpn_gauss",
- "wpn_groza",
- "wpn_hpsa",
- "wpn_l85",
- "wpn_lr300",
- "wpn_mp5",
- "wpn_pb",
- "wpn_pm",
- "wpn_rg-6",
- "wpn_rpg7",
- "wpn_sig220",
- "wpn_sig550",
- "wpn_spas12",
- "wpn_svd",
- "wpn_usp",
- "wpn_val",
- "wpn_vintorez",
- "wpn_walther",
- "wpn_wincheaster1300" }
- function spawn_weapons()
- if db.actor and not has_alife_info("spawn_test_weapons") then
- db.actor:give_info_portion("spawn_test_weapons")
- for i = 1, #weapons_sections do
- alife():create(weapons_sections[i], db.actor:position(), db.actor:level_vertex_id(), db.actor:game_vertex_id(), db.actor:id())
- end
- end
- end
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement