Raised This Month: $51 Target: $400
 12% 

Is it possible to change the ammo type of the weapon?


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
11922911
Senior Member
Join Date: Dec 2011
Location: Yuen Long Country
Old 04-30-2016 , 00:50   Is it possible to change the ammo type of the weapon?
Reply With Quote #1

Can anyone provide a method? Thanks!
__________________
youtube:
@holla16
11922911 is offline
HamletEagle
AMX Mod X Plugin Approver
Join Date: Sep 2013
Location: Romania
Old 04-30-2016 , 01:55   Re: Is it possible to change the ammo type of the weapon?
Reply With Quote #2

Just some ideeas:

Probably by hooking GetItemInfo with let's say orpheu and using OrpheuSetStructMember(2, "pszAmmo1", ...), but this looks like a poor way.
Better, you could alter directly ItemInfoArray variable with orpheu. If you want to find how, search for my thread in which Arkshine helped me to find it's address. Something you should test and see how well it works.
__________________

Last edited by HamletEagle; 04-30-2016 at 01:59.
HamletEagle is offline
Reply



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 16:46.


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