SA-MP Forums

Go Back   SA-MP Forums > SA-MP > Bug Reports

Reply
 
Thread Tools Display Modes
Old 19/10/2009, 11:04 PM   #1
decondelite
Big Clucker
 
decondelite's Avatar
 
Join Date: Nov 2008
Location: France
Posts: 132
Reputation: 58
Default Ammo bug for unskilled players

Here is another bug I found.

On my alpha server, I have coded a command to give people weapons. But I have a ammo bug when I'm giving a weapon that can be a dual weapon (9mm, tec9, mac10, sawn offs).

Remember that in ALL examples the player is unskilled for every weapon (I've set 0 to every weapon):
-the player is currently carrying a baseball bat, I give him 9mm with let's say 100 ammo: he then switches with a 9mm and 17 rounds in the clip
-the player is currently carrying a 9mm, I give him another 9mm with 100 ammo: he still has a 9mm in only one hand, BUT it has 34 rounds in the clip!
-the player currently has a mp5, I give him a Mac10 with 100 rounds: the player has only one Mac10, but with 100 rounds in the clip!
-if the player has this bug, and empties his gun, then when he reloads the rounds amount come back to normal
-also, still if the player has this bug, if he switches to another weapon, and come back on the bugged one, the rounds in clip is back to normal

Fortunately, the player still has the normal unskilled anims even with that bug, he just shoots 2 times what his clip is supposed to have in it.

So my conclusion about this: this bug occurs if the previous carried weapon and the given one are in the same weapon slot (shotgun/spaz/sawn offs for example).

Hope this bug report will help to unbug 0.3a.
__________________
decondelite, A.K.A Jarek

The power to make the biggest dreams of war server players become reality. Minigun turrets, fully controllable SAM sites, shooting police mavericks, devastating bomber planes, jedi light saber with force push, and many more.
decondelite is offline   Reply With Quote
Reply

Thread Tools
Display Modes

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
gun ID and Ammo Typhome Help Archive 5 05/07/2010 06:16 PM
-1 Ammo bug when loading players weapons. Johndaone Help Archive 2 15/06/2010 05:35 AM
Saving the players ammo. IcyBlight Help Archive 0 02/05/2010 10:49 AM
How To Make Anti Ammo more than 1 ammo weapon jame20702 Help Archive 0 12/12/2009 07:00 AM
Max ammo potato Help Archive 0 26/07/2009 12:06 AM


All times are GMT. The time now is 08:53 AM.


Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.