When player buy this item need to reward 1 ammo packs on every 1000 dmg hp. The dmg hp = zp_human_damage_reward 1000 // How much damage humans must deal on zombies to get an ammo pack
Only in compile ... zp_extra_silver_ak47.sma(106) : error 017: undefined symbol "Attacker" zp_extra_silver_ak47.sma(106) : error 017: undefined symbol "Attacker" zp_extra_silver_ak47.sma(109) : error 017: undefined symbol "Attacker" zp_extra_silver_ak47.sma(109 -- 110) : warning 215: expression has no effect But i change: zp_set_user_ammo_packs(Attacker, zp_get_user_ammo_packs(Attacker) + 1)
Human deal 5400 dmg with this item and reward only 3 ammo packs... but real reward need be 5 zp_human_damage_reward 1000 // How much damage humans must deal on zombies to get an ammo pack