SA-MP Forums Archive
GetPlayerAmmo - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP (https://sampforum.blast.hk/forumdisplay.php?fid=3)
+--- Forum: Bug Reports (https://sampforum.blast.hk/forumdisplay.php?fid=20)
+--- Thread: GetPlayerAmmo (/showthread.php?tid=367673)



GetPlayerAmmo - Roko_foko - 10.08.2012

GetPlayerAmmo returns 0 even though if player does have bullets in their weapon if player uses gun while being in car as a passenger. Can anyone confirm?


Re: GetPlayerAmmo - Lordzy - 25.08.2012

I didnt understand.
Can you explain well?


Re: GetPlayerAmmo - Roko_foko - 25.08.2012

Now I forget what i wanted to say. I think if you are inside the car as a passenger and you are driving-by with for example deagle. getPlayerAmmo will tell you you got 0 ammo in the deagle.


Re: GetPlayerAmmo - Lordzy - 25.08.2012

You mean it'll show how many ammo do we have or the ammo should be set to 0??


Re: GetPlayerAmmo - Roko_foko - 25.08.2012

It will show wrong amount of ammo. In case we have 20 ammo, it will still show 0 ammo.


Re: GetPlayerAmmo - ikey07 - 26.08.2012

Server cant get player ammo while he is in a car, I guess same as gun id itself


Re: GetPlayerAmmo - FaceTutorialz - 26.08.2012

If your players ammo is over the max limit then it will show a -32124 something like that bug or 0 in deagle.


Respuesta: GetPlayerAmmo - CaptainMactavish - 07.09.2012

Use GetPlayerWeaponData with GetWeaponSlot and GetPlayerWeapon.


Re: GetPlayerAmmo - Aurel - 24.10.2012

i'm got a rifle gun in samp and 25 ammo i'm not hacker by weapon i'm leader by Logitech server i'm got a like samp.


i'm playning a samp 0.3 version is very popular and world is not samp popular cod2 is very good and cool games



i'm dont now hacking ammo i'm not hacking ammo


Re: GetPlayerAmmo - Aurel - 24.10.2012

Roko_FOKO ja sam iz hrvatske iz magicmale u SL-Brodu