14.06.2010, 04:03
Quote:
Originally Posted by $ЂЯĢ
GetPlayerWeaponData won't retrieve right ammo value on next OnPlayerUpdate (it will return old value).
For example, I have AK47 with 50 ammo and I use GivePlayerWeapon to give myself M4 -> everything alright. And if I have AK47 with 50 ammo and use GivePlayerWeapon/SetPlayerAmmo to give you some more ammo GetPlayerWeaponData will return old value on first update. |