Raised This Month: $ Target: $400
 0% 

Subplugin Submission [ZP] Extra : M60 Machine Gun


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Fr0Zeen
Member
Join Date: May 2011
Location: Australia, Sydney
Old 06-04-2011 , 01:31   [ZP] Extra : M60 Machine Gun
Reply With Quote #1

[ZP] Extra : M60 Machine Gun
v1.0

Description :
M60 machine gun are a revolution of m249 machine gun that use 5.56 bullets. it different with m249 it has 135 damage per shot. revolution weapon get zombie die faster.

Features :

** Have its own model
** have 135 damage per shot
** Fix The Bug of grenades

Credits :

** MetaliCross - For his sawnoff shotgun damage code
** MerCyleZZ - For his zombie plague includes
** jc980 - For his Skull CSO model

Any bugs or errors just reply


Have FuN !!!

Attached Files
File Type: sma Get Plugin or Get Source (zp_extra_m60.sma - 6814 views - 2.1 KB)
File Type: zip m60.mdl.zip (1.03 MB, 6616 views)
Fr0Zeen is offline
Send a message via Yahoo to Fr0Zeen
Dolph_Ziggler
BANNED
Join Date: Jun 2011
Old 06-04-2011 , 08:13   Re: [ZP] Extra : M60 Machine Gun
Reply With Quote #2

nice plugin
Dolph_Ziggler is offline
Send a message via MSN to Dolph_Ziggler
GuTo
Senior Member
Join Date: Mar 2010
Location: Brazil - SP
Old 06-04-2011 , 10:55   Re: [ZP] Extra : M60 Machine Gun
Reply With Quote #3

niceee
__________________
GuTo is offline
Send a message via Skype™ to GuTo
Razziiel
New Member
Join Date: Feb 2010
Old 06-04-2011 , 11:52   Re: [ZP] Extra : M60 Machine Gun
Reply With Quote #4

REALLY BAD CODE

here u got it fixed

PHP Code:
#include <amxmodx>
#include <fakemeta>
#include <fun>
#include <hamsandwich>
#include <zombieplague>

// Defines

#define PLUGIN "[ZP] M60 Para Machinegun"
#define VERSION "1.0"
#define AUTHOR "Fr0zeen"

// Item ID

new cvar_damage

new g_m60[33] , g_hasm60[33]
new 
g_itemid


new const g_item_name[] = "Machine M60" // Item Name
new const g_item_cost 430 // Item Cost
new const g_item_team ZP_TEAM_HUMAN // Item Team

new const M60_M249[] = "models/zombie_plague/v_m60_adc.mdl" // Edit Section 

#define is_valid_player(%1) (1 <= %1 <= 32) // Check player

public plugin_init()
{
    
register_plugin(PLUGINVERSIONAUTHOR)

    
g_itemid zp_register_extra_item(g_item_nameg_item_costg_item_team//

    
cvar_damage register_cvar("zp_m60_damage""85"
        
    
register_event("CurWeapon""Event_CurWeapon""be""1=1");
    
RegisterHam(Ham_TakeDamage"player""Fw_PlayerDamaged"1)
}

public 
plugin_precache()
    {
    
precache_model(M60_M249// Precache M249 Model
    
}
    
public 
zp_extra_item_selected(playeritemid)
{
    if (
itemid == g_itemid)
    {
        if (!
g_hasm60[player])
        {
            
// Strip first users weapon to give Awp
            
strip_user_weapons(player)

            
// Set the Player to m60
            
g_m60[player] = true
            g_hasm60
[player] = true

            
// Give Weapon m249
            
give_item(player"weapon_m249")
            
client_print(playerprint_chat"[ZP] You have Buy m60, have fun")
            return 
PLUGIN_HANDLED;
        }
    }
    return 
PLUGIN_HANDLED;
    
}

public 
Fw_PlayerDamaged(idinflictorattackerdamagedamagebits

    if ( 
is_valid_player(attacker) && get_user_weapon(attacker) == CSW_M249 && g_hasm60[attacker] ) 
    
SetHamParamFloat(4damage *= get_pcvar_float(cvar_damage))
}

public 
Event_CurWeapon(id)
{
    if (
get_user_weapon(id) == CSW_M249 && g_hasm60[id])
    
set_pev(idpev_viewmodel2M60_M249)

"nice plugin"
"niceee"

wtf?
Razziiel is offline
Dolph_Ziggler
BANNED
Join Date: Jun 2011
Old 06-04-2011 , 15:50   Re: [ZP] Extra : M60 Machine Gun
Reply With Quote #5

item coast 430 ??? xD
Dolph_Ziggler is offline
Send a message via MSN to Dolph_Ziggler
Fr0Zeen
Member
Join Date: May 2011
Location: Australia, Sydney
Old 06-04-2011 , 21:00   Re: [ZP] Extra : M60 Machine Gun
Reply With Quote #6

im sure i write it cost 25 .... Hmmmm
Fr0Zeen is offline
Send a message via Yahoo to Fr0Zeen
Excalibur.007
Veteran Member
Join Date: Sep 2009
Location: Singapore
Old 06-13-2011 , 02:08   Re: [ZP] Extra : M60 Machine Gun
Reply With Quote #7

Damn. This sub-forum is full of similar stuff. We need more unique stuff.
Excalibur.007 is offline
tei1995
Senior Member
Join Date: Feb 2011
Location: VietNam
Old 06-13-2011 , 02:46   Re: [ZP] Extra : M60 Machine Gun
Reply With Quote #8

damn!
__________________

Hatsune Miku~
tei1995 is offline
.Dare Devil.
Veteran Member
Join Date: Sep 2010
Old 06-13-2011 , 15:29   Re: [ZP] Extra : M60 Machine Gun
Reply With Quote #9

this plugin is like some plugins code rip xD
.Dare Devil. is offline
olari9
Senior Member
Join Date: May 2009
Old 08-25-2011 , 08:59   Re: [ZP] Extra : M60 Machine Gun
Reply With Quote #10

Quote:
Originally Posted by .Dare Devil. View Post
this plugin is like some plugins code rip xD
Lolz, you are telling them that they are ripping but, what do you do then? M16 is 100% your made huh? I quess that it is pretty much golden ak.
__________________
olari9 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:20.


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