Raised This Month: $ Target: $400
 0% 

Dropping weapon with it's bpammo


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
djmd378
Senior Member
Join Date: Sep 2004
Old 06-14-2007 , 13:32   Dropping weapon with it's bpammo
Reply With Quote #1

I'm trying to figure out a way for when a player drops a weapon, they will also drop it's bpammo. So lets say a player has a AK47 with 30/51 ammo; that player drops the AK47. Another player who didn't have that weapon picks up that same AK47 and now has 30/51 ammo. And if the original owner buys another AK47, it won't have 30/51, but 30/0 (because when you buy weapons it doesn't automatically give you full clip).


I have an idea of how to do this but I'm just curious if someone else has a better idea, and to show me.


This is what I'm planning, Player drop AK47, get his bpammo and save it. Then remove his bpammo. Then when another player comes and pick up that weapon, it will give set that players bpammo to add his current bpammo for that weapon + the dropped weapon bpammo. (And of course if the total is over to 90, it will just set it to 90 and not give the player more than they should have).
__________________
djmd378 is offline
 



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 10:32.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode