GetPlayerWeaponData reports 0 ammo
#2

Workaround untill you find a fix using https://sampwiki.blast.hk/wiki/GetPlayerAmmo

But you need to call that with weapon ids not slots.

Not a clue why GetPlayerWeaponData aint working though.

EDIT: forgot it only takes playerid param, maybe a combination of https://sampwiki.blast.hk/wiki/SetPlayerArmedWeapon and https://sampwiki.blast.hk/wiki/GetPlayerAmmo. Possibly wont look nice for the player.

Just ignore what i said it obviously would ruin it.
Reply


Messages In This Thread
GetPlayerWeaponData reports 0 ammo - by MP2 - 09.10.2015, 15:49
Re: GetPlayerWeaponData reports 0 ammo - by iggy1 - 09.10.2015, 18:14
Re: GetPlayerWeaponData reports 0 ammo - by Kevln - 09.10.2015, 18:47
Re: GetPlayerWeaponData reports 0 ammo - by MP2 - 09.10.2015, 18:48
Re: GetPlayerWeaponData reports 0 ammo - by xVIP3Rx - 09.10.2015, 19:05
Re: GetPlayerWeaponData reports 0 ammo - by Kevln - 09.10.2015, 19:05
Re: GetPlayerWeaponData reports 0 ammo - by MP2 - 09.10.2015, 22:11
Re: GetPlayerWeaponData reports 0 ammo - by MP2 - 10.10.2015, 00:43

Forum Jump:


Users browsing this thread: 2 Guest(s)