Raised This Month: $ Target: $400
 0% 

fantastiko


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Balck
Senior Member
Join Date: Apr 2013
Location: Kosova-Mitrovica
Old 08-18-2013 , 08:35   Re: not work
Reply With Quote #1

Quote:
Originally Posted by fantastiko View Post
i want when killer killed victim , him weapon clip renew, no reload.


PHP Code:
#include amxmodx
#include hamsandwich
#include fakemeta_util
#include fun

const Clip 40
const HL1_OffSet 4

#define HLW_SHOTGUN            7


public plugin_init()
{


    
register_event("DeathMsg","gs2","a")

}

public 
gs2()
{
    
killer read_data(1)

    if(
is_user_alive(killer) && get_user_weapon(killer) == HLW_SHOTGUN)
    {

        
set_pdata_int(killerClip50HL1_OffSet)
    }

see here
__________________

Last edited by Balck; 08-18-2013 at 08:37.
Balck 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 15:45.


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