Raised This Month: $51 Target: $400
 12% 

Subplugin Submission [ZP] Extra Item: AKM 12


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
CrazY.
Veteran Member
Join Date: May 2015
Location: SP, Brazil
Old 10-26-2015 , 11:14   [ZP] Extra Item: AKM 12
Reply With Quote #1

[ZP] Extra Item: AKM 12
By: CrazY.


Description:
Quote:
  • This plugin add a new weapon in extra items menu with the name of AKM 12.
Included: (to all ZPS)
Quote:
  • amxmodx;
  • fun;
  • cstrike;
  • engine;
  • fakemeta;
  • hamsandwich;
Cvars:
Quote:
  • zp_akm12_damage_x 2.5 // Damage Multiplier For AKM 12
  • zp_akm12_clip 30 // AKM 12 Clip
  • zp_akm12_bpammo 200 // AKM 12 Bpammo
  • zp_akm12_oneround 0 // AKM 12 One Round? [0/1]
Configuration:
Quote:
PHP Code:
#define ITEM_NAME "AKM 12"
#define ITEM_COST 20 
Quote:
PHP Code:
new const V_AKM12_MDL[64] = "models/zombie_plague/v_akm-12.mdl";
new const 
P_AKM12_MDL[64] = "models/zombie_plague/p_akm-12.mdl";
new const 
W_AKM12_MDL[64] = "models/zombie_plague/w_akm-12.mdl"
Change log:
Quote:
PHP Code:
v0.1
Released;

v0.2
Added damage support for the bots without cs_ham_bots_api (.inc and .amxx);
Added new cvars;
Added weapon zoom;

v0.3
Fixed the new round bug (zp_akm12_oneround);
Added support to ZP 5.0
Next updates:
Quote:
  • A̶d̶d̶ ̶z̶o̶o̶m̶ ̶i̶n̶ ̶A̶K̶M̶ ̶1̶2̶; - DONE -
  • A̶d̶d̶ ̶s̶u̶p̶p̶o̶r̶t̶ ̶t̶o̶ ̶w̶o̶r̶k̶ ̶w̶i̶t̶h̶ ̶Z̶P̶A̶ ̶a̶n̶d̶ ̶Z̶P̶5̶0̶;̶; - DONE -
  • Add unlimited clip code;
  • Add a config for register this extra item only for admins/vips;
  • A̶d̶d̶ ̶d̶a̶m̶a̶g̶e̶ ̶s̶u̶p̶p̶o̶r̶t̶ ̶f̶o̶r̶ ̶b̶o̶t̶s̶ ̶w̶i̶t̶h̶o̶u̶t̶ ̶c̶s̶_̶h̶a̶m̶_̶b̶o̶t̶s̶_̶a̶p̶i̶ ̶(̶.̶i̶n̶c̶ ̶a̶n̶d̶ ̶.̶a̶m̶x̶x̶)̶; - DONE -
Enjoy!
Attached Files
File Type: zip resources.zip (2.19 MB, 950 views)
File Type: sma Get Plugin or Get Source (zp43_extra_akm-12.sma - 1486 views - 7.3 KB)
File Type: sma Get Plugin or Get Source (zpa_extra_akm-12.sma - 1178 views - 7.3 KB)
File Type: sma Get Plugin or Get Source (zp50_extra_akm-12.sma - 1314 views - 7.5 KB)
__________________









Last edited by CrazY.; 11-11-2015 at 15:30. Reason: Updated for v0.3 and added support to ZP50.
CrazY. is offline
Chihuahuax
Senior Member
Join Date: Oct 2014
Location: Malaysia
Old 10-26-2015 , 11:23   Re: [ZP] Extra Item: AKM 12
Reply With Quote #2

You need to Hook DeathMsg for g_akm12[id] = false
so that player will lose this item when he's dead
Chihuahuax is offline
Send a message via Skype™ to Chihuahuax
amir saiaoud
Senior Member
Join Date: May 2015
Location: essaouira , maroc
Old 10-26-2015 , 11:29   Re: [ZP] Extra Item: AKM 12
Reply With Quote #3

i like it
__________________
amir saiaoud is offline
Send a message via Skype™ to amir saiaoud
CrazY.
Veteran Member
Join Date: May 2015
Location: SP, Brazil
Old 10-26-2015 , 12:13   Re: [ZP] Extra Item: AKM 12
Reply With Quote #4

Thanks, fixed
__________________








CrazY. is offline
amir saiaoud
Senior Member
Join Date: May 2015
Location: essaouira , maroc
Old 10-26-2015 , 16:19   Re: [ZP] Extra Item: AKM 12
Reply With Quote #5

i will be very happy if you post the next version of this weapon
__________________
amir saiaoud is offline
Send a message via Skype™ to amir saiaoud
CrazY.
Veteran Member
Join Date: May 2015
Location: SP, Brazil
Old 11-11-2015 , 13:27   Re: [ZP 4.3 + ZPA] Extra Item: AKM 12
Reply With Quote #6

Change log:
Quote:
PHP Code:
v0.1
Released;

v0.2
Added damage support for the bots without cs_ham_bots_api (.inc and .amxx);
Added new cvars;
Added weapon zoom
__________________








CrazY. is offline
CrazY.
Veteran Member
Join Date: May 2015
Location: SP, Brazil
Old 11-11-2015 , 15:31   Re: [ZP] Extra Item: AKM 12
Reply With Quote #7

Change log:
Quote:
PHP Code:
v0.1
Released;

v0.2
Added damage support for the bots without cs_ham_bots_api (.inc and .amxx);
Added new cvars;
Added weapon zoom;

v0.3
Fixed the new round bug (zp_akm12_oneround);
Added support to ZP 5.0
__________________








CrazY. is offline
botz
AlliedModders Donor
Join Date: Jan 2015
Old 11-18-2015 , 23:41   Re: [ZP] Extra Item: AKM 12
Reply With Quote #8

There is a bug, i only hear normal AK Sound

Please fix it for gun sound like this: https://www.youtube.com/watch?v=_b9pW7nTjpY

For both the shooter, and the other people who see him shooting should hear the same sound not the NORMAL AK SOUND

Please tell me how you fixed it in code so that i can know

Thanks
__________________
botz is offline
CrazY.
Veteran Member
Join Date: May 2015
Location: SP, Brazil
Old 11-19-2015 , 08:02   Re: [ZP] Extra Item: AKM 12
Reply With Quote #9

Thank you for having warned, I'll fix the code.
__________________








CrazY. is offline
botz
AlliedModders Donor
Join Date: Jan 2015
Old 11-19-2015 , 16:09   Re: [ZP] Extra Item: AKM 12
Reply With Quote #10

In this it doesnt have the shooting sound, others do, but please add the shooting sound i posted above, and do what i requested above, please can you do it real quick, i need it now :/

Thanks for looking at my request
__________________
botz 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 14:15.


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