Raised This Month: $ Target: $400
 0% 

Subplugin Submission [ZP] Extra Item : Thunder Carabine v1.5


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
meTaLiCroSS
Gaze Upon My Hat
Join Date: Feb 2009
Location: Viņa del Mar, Chile
Old 10-03-2009 , 17:10   Re: [ZP] Extra Item : Thunder Carabine v1.0
Reply With Quote #1

@Asd'

PHP Code:
public fw_TakeDamage(victiminflictorattackerFloat:damagedamage_type)
{
    if (
g_HasThunderCarabine[attacker])    
    {
        if (
get_user_weapon(attacker) == CSW_M4A1)
        {
            
SetHamParamFloat(4damage 2.0)
        }
    } 
    return 
HAM_IGNORED;

--->

PHP Code:
public fw_TakeDamage(victiminflictorattackerFloat:damagedamage_type)
{
    if (!
is_user_connected(attacker))
        return 
HAM_IGNORED

    
if (g_HasThunderCarabine[attacker])    
    {
        if (
get_user_weapon(attacker) == CSW_M4A1)
        {
            
SetHamParamFloat(4damage 2.0)
        }
    } 
    return 
HAM_IGNORED;

EDIT: internet sucks
__________________
Quote:
Originally Posted by joropito View Post
You're right Metalicross

Last edited by meTaLiCroSS; 10-03-2009 at 17:13.
meTaLiCroSS 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:27.


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