Raised This Month: $ Target: $400
 0% 

Unlimited Reloads (For paintball)


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
MercedeSx7
Senior Member
Join Date: Feb 2012
Location: Serbia
Old 01-17-2013 , 11:13   Unlimited Reloads (For paintball)
Reply With Quote #1

Hi guys i have problem with ham reload..

PHP Code:
#include <amxmodx>
#include <cstrike>
#include <hamsandwich>
#include <fakemeta>

new const PLUGIN[] = "Unlimited Reloads (For paintball)";
new const 
VERSION[] = "1.0";
new const 
AUTHOR[] = "MercedeS";

public 
plugin_init()
{
register_plugin(PLUGINVERSIONAUTHOR);

RegisterHam(Ham_Weapon_Reload"paintball_reload");
}

public 
paintball_reload(weapon_entity)
{
new 
id pev(weapon_entitypev_owner);
new 
weapon get_user_weapon(id);

switch(
weapon)
{
case 
CSW_MP5NAVY:
{
cs_set_user_bpammo(idCSW_MP5NAVY120);
}
case 
CSW_GLOCK18:
{
cs_set_user_bpammo(idCSW_GLOCK18120);
}
case 
CSW_USP
{
cs_set_user_bpammo(idCSW_USP100);
}
}

CAn someone try too fix?
__________________

Last edited by YamiKaitou; 01-18-2013 at 01:14.
MercedeSx7 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 13:38.


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