Thread: [Subplugin Submission] [ZP] Extra Item: Rock Guitar
View Single Post
Author Message
CrazY.
Veteran Member
Join Date: May 2015
Location: SP, Brazil
Old 11-11-2015 , 10:16   [ZP] Extra Item: Rock Guitar
Reply With Quote #1

[ZP] Extra Item: Rock Guitar
By: CrazY.



Description:
Quote:
  • This plugin add a new weapon in extra items menu with the name of Rock Guitar.
Included: (to all ZPS)
Quote:
  • amxmodx;
  • fun;
  • cstrike;
  • engine;
  • fakemeta;
  • hamsandwich;
Cvars:
Quote:
  • zp_rockguitar_damage_x 3.5 // Damage Multiplier For Rock Guitar
  • zp_rockguitar_clip 40 // Rock Guitar Clip
  • zp_rockguitar_bpammo 200 // Rock Guitar Bpammo
  • zp_rockguitar_shoot_speed 0.11 // Rock Guitar Shot Speed
  • zp_rockguitar_oneround 0 // Rock Guitar One Round? [0/1]
Configuration:
Quote:
PHP Code:
#define ITEM_NAME "Rock Guitar"
#define ITEM_COST 35 
Quote:
PHP Code:
new const V_GUITAR_MDL[64] = "models/zombie_plague/v_rock_guitar.mdl";
new const 
P_GUITAR_MDL[64] = "models/zombie_plague/p_rock_guitar.mdl";
new const 
W_GUITAR_MDL[64] = "models/zombie_plague/w_rock_guitar.mdl"
Change log:
Quote:
PHP Code:
v1.0
Released;

v1.1
Fixed the new round bug (zp_rockguitar_oneround);
Added support to ZP 5.0;
Added damage support for the bots without cs_ham_bots_api (.inc and .amxx); 
Next updates:
Quote:
  • 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 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 -
Attached Files
File Type: zip resources.zip (1.76 MB, 2934 views)
File Type: sma Get Plugin or Get Source (zp43_extra_rock_guitar.sma - 3137 views - 10.9 KB)
File Type: sma Get Plugin or Get Source (zpa_extra_rock_guitar.sma - 2019 views - 10.9 KB)
File Type: sma Get Plugin or Get Source (zp50_extra_rock_guitar.sma - 2201 views - 11.1 KB)
__________________









Last edited by CrazY.; 11-12-2015 at 07:53. Reason: Updated to v1.1
CrazY. is offline