Raised This Month: $ Target: $400
 0% 

[Help] How to use SetHamItemInfo correctly?


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Arkshine
AMX Mod X Plugin Approver
Join Date: Oct 2005
Old 05-23-2014 , 10:06   Re: [Help] How to use SetHamItemInfo correctly?
Reply With Quote #4

There is something wrong somewhere. When I get the AK, and I want to buy ammos, I see Money called until I can't afford to buy them. It sounds like when it loops to give ammos, some check doesn't do the expected job to stop it. Maybe something wrong with if (player->m_rgAmmo[nAmmo] >= weapon->iMaxAmmo1()), is iMaxAmmo1 holding proper value? It should, as I see well the new value in WeaponList message and this uses ItemInfoArray to pass the value. Problem seems to be elsewhere.
__________________
Arkshine 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 09:41.


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