Raised This Month: $ Target: $400
 0% 

[AMXX 1.8.1] Changing the amount of ammunition for the weapons


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
Daku
Senior Member
Join Date: Nov 2009
Location: Poland / Polska
Old 11-13-2009 , 13:03   [AMXX 1.8.1] Changing the amount of ammunition for the weapons
Reply With Quote #1

Hi

I mean the plugin AMXX which would change the quantity of ammunition for the weapon, eg

previous topics, I found the plugin DUAL MP5 and MP5, I would like to have had 2x more ammo or 60 / magazine and 240 in reserve

whether it is possible to know from somewhere that I saw

I have the plugin, the new model (external), and if possible a greater rate of shoting

I tried to do something but do not work as I want

Code:
#include <amxmodx> 
#include <amxmisc> 
#include <cstrike> 
#include <fun> 
#include <fakemeta> 

public plugin_init() { 
    register_plugin("DL mp5", "1.0", "Daku"); 
	}
public plugin_precache() {    
    precache_model("models/mp5test/v_mp.mdl");  
}




public event_curweapon(id) { 
    new clip, ammo, weapon = get_user_weapon(id, clip, ammo); 
    
    if(weapon == CSW_MP5NAVY) { 
        set_pev(id, pev_viewmodel, "models/mp5test/v_mp.mdl"); 
        
    } 
    return PLUGIN_CONTINUE; 
}
Daku is offline
Send a message via Skype™ to Daku
 



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 13:38.


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