K4stic Posted January 23, 2013 Posted January 23, 2013 (edited) SOLVED Edited January 24, 2013 by Guest
csiguusz Posted January 23, 2013 Posted January 23, 2013 This is because when the player hits the pickup, you give him the ammo again. You don't need those lines in the "onPickupHit" event: local weapid = getPickupWeapon ( source ) local weapammo = getPickupAmmo ( source ) giveWeapon ( player, weapid, weapammo, false )
Callum Posted January 23, 2013 Posted January 23, 2013 The short way of saying weapon is wep, not weap. For me, 'weap' makes me think of somebody crying. Anyway, in the onPickupHit function, you do not need to use giveWeapon, as it happens automatically. Alternatively, you can use cancelEvent and manually distribute the ammo via giveWeapon.
K4stic Posted January 23, 2013 Author Posted January 23, 2013 ok i fix it thx but then i wonna drop dildo or something else (knife,dildo,katana,flower) it's says "You Don't Have engough Ammo in that Weapon to Drop it"
K4stic Posted January 23, 2013 Author Posted January 23, 2013 yea it's droped it but player not love that ammo or weap
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now