Raised This Month: $32 Target: $400
 8% 

Subplugin Submission [ZP] Extra Item: Magnum Drill


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
CrazY.
Veteran Member
Join Date: May 2015
Location: SP, Brazil
Old 03-21-2017 , 18:42   [ZP] Extra Item: Magnum Drill
Reply With Quote #1

[ZP] Extra Item: Magnum Drill
By: CrazY.


Description:
Quote:
  • This plugin add a new weapon into your zombie plague mod with the name of Magnum Drill. The bullet of this weapon explode when hit a zombie!
Note:
Quote:
  • That weapon dont have weapon list, P_ and W_ models. If you can do, thank you.
Included:
Quote:
  • amxmodx;
  • amxmisc;
  • engine;
  • cstrike;
  • fakemeta;
  • hamsandwich;
  • zombieplague;
  • cs_ham_bots_api;
Cvars:
Quote:
  • zp_magnum_drill_ammo <number> - Ammo amout.
  • zp_magnum_drill_clip <number> - Clip amout. (Max: 100)
  • zp_magnum_drill_one_round <0/1> - Only one round.
  • zp_magnum_drill_damage <number> - Damage multiplier.
  • zp_magnum_drill_unlimited <0/1> - Unlimited ammunition.
  • zp_magnum_drill_shootspd <number> - Shoot speed.
Configuration:
Quote:
PHP Code:
// Item Name
#define ITEM_NAME "Magnum Drill"

// Item Cost
#define ITEM_COST 100 
Commands:
Quote:
  • zp_give_magnum_drill <target> - Give the item to target.
Change log:
Quote:
PHP Code:
v0.1: (Mar 2017)
First release
Credits:
Quote:
PHP Code:
MeRcyLeZZ: for the nice zombie plague mod.
Crazycreated the extra item code.
deanamx: for the nice weapon model.
And 
all zombie-mod players that use this weapon
Enjoy!
Attached Files
File Type: sma Get Plugin or Get Source (zp_extra_magnum_drill.sma - 2080 views - 15.8 KB)
File Type: zip resources.zip (780.2 KB, 1218 views)
__________________








CrazY. is offline
killerZM
Senior Member
Join Date: Sep 2016
Old 03-28-2017 , 14:17   Re: [ZP] Extra Item: Magnum Drill
Reply With Quote #2

u have the p and v models and dont know how to do it or u dont have the models ?
killerZM is offline
CrazY.
Veteran Member
Join Date: May 2015
Location: SP, Brazil
Old 03-28-2017 , 18:54   Re: [ZP] Extra Item: Magnum Drill
Reply With Quote #3

Quote:
Originally Posted by killerZM View Post
u have the p and v models and dont know how to do it or u dont have the models ?
I dont have the models.
__________________








CrazY. is offline
yas17sin
Veteran Member
Join Date: Oct 2016
Location: Morocco/Sale
Old 03-31-2017 , 09:23   Re: [ZP] Extra Item: Magnum Drill
Reply With Quote #4

here are the models :
Attached Files
File Type: zip models.zip (129.0 KB, 303 views)
__________________
FINISHED WORKING ON : Attack On Titan Mod (100% Done).

FB Acc : FaceBook Account.

pic: http://prntscr.com/fszkke not good quality
yas17sin is offline
Send a message via ICQ to yas17sin
CrazY.
Veteran Member
Join Date: May 2015
Location: SP, Brazil
Old 03-31-2017 , 09:41   Re: [ZP] Extra Item: Magnum Drill
Reply With Quote #5

That is nice c.c thank you yas17sin, I will do the update.
__________________








CrazY. is offline
Old 04-04-2017, 06:32
Dragan015Bre
This message has been deleted by asherkin. Reason: Bickering.
Old 04-04-2017, 07:31
CrazY.
This message has been deleted by CrazY..
Old 04-04-2017, 08:18
Dragan015Bre
This message has been deleted by asherkin. Reason: Bickering.
Old 04-04-2017, 08:52
CrazY.
This message has been deleted by asherkin. Reason: Bickering.
Old 04-04-2017, 09:09
Dragan015Bre
This message has been deleted by asherkin. Reason: Bickering.
Old 04-04-2017, 09:16
CrazY.
This message has been deleted by asherkin. Reason: Bickering.
Old 04-04-2017, 09:19
Dragan015Bre
This message has been deleted by asherkin. Reason: Bickering.
New and Clueless
Senior Member
Join Date: Dec 2015
Old 02-05-2018 , 16:10   Re: [ZP] Extra Item: Magnum Drill
Reply With Quote #6

Code:
[AMXX] Plugin "zp_magnumdrill.amxx" failed to load: Module/Library "cs_ham_bots_api" required for plugin.  Check modules.ini
I used cs_ham_bots_api in include to compile, but I can't find module to download anywhere...

You have it?

is this for zp50 only?
__________________

ANY SCRIPTER ON THIS FORUM HAS FREE VIP/ADMIN IN MY SERVER!

Last edited by New and Clueless; 02-05-2018 at 16:46.
New and Clueless is offline
CrazY.
Veteran Member
Join Date: May 2015
Location: SP, Brazil
Old 02-05-2018 , 17:23   Re: [ZP] Extra Item: Magnum Drill
Reply With Quote #7

No, you can use with zp43 or any other version.
__________________









Last edited by CrazY.; 02-05-2018 at 17:24.
CrazY. is offline
New and Clueless
Senior Member
Join Date: Dec 2015
Old 02-06-2018 , 07:07   Re: [ZP] Extra Item: Magnum Drill
Reply With Quote #8

Quote:
Originally Posted by CrazY. View Post
No, you can use with zp43 or any other version.
ok so what do I do with this?

Code:
[AMXX] Plugin "zp_magnumdrill.amxx" failed to load: Module/Library "cs_ham_bots_api" required for plugin.  Check modules.ini
__________________

ANY SCRIPTER ON THIS FORUM HAS FREE VIP/ADMIN IN MY SERVER!
New and Clueless is offline
CrazY.
Veteran Member
Join Date: May 2015
Location: SP, Brazil
Old 02-06-2018 , 11:28   Re: [ZP] Extra Item: Magnum Drill
Reply With Quote #9

https://forums.alliedmods.net/showpo...5&postcount=20
__________________








CrazY. is offline
New and Clueless
Senior Member
Join Date: Dec 2015
Old 02-08-2018 , 16:56   Re: [ZP] Extra Item: Magnum Drill
Reply With Quote #10

Code:
L 02/08/2018 - 21:15:39: [CSTRIKE] Non-player entity -1 out of range
L 02/08/2018 - 21:15:39: [AMXX] Displaying debug trace (plugin "zp_zextra_h_drill.amxx")
L 02/08/2018 - 21:15:39: [AMXX] Run time error 10: native error (native "cs_set_weapon_ammo")
L 02/08/2018 - 21:15:39: [AMXX]    [0] zp_zextra_h_drill.sma::give_magnum_drill (line 591)
L 02/08/2018 - 21:15:39: [AMXX]    [1] zp_zextra_h_drill.sma::zp_extra_item_selected (line 267)
line 591

Code:
give_magnum_drill(id)
{
	g_has_magnum[id] = true;

	new weapon = give_item(id, "weapon_galil");

	cs_set_weapon_ammo(weapon, get_pcvar_num(cvar_magnum_clip));
	cs_set_user_bpammo(id, CSW_GALIL, get_pcvar_num(cvar_magnum_ammo));
}
line 267

Code:
public zp_extra_item_selected(id, itemid)
{
	if (itemid != g_magnum)
		return;

	if (g_has_magnum[id])
	{
		client_print(id, print_chat, "[ZP] You already have a %s ye cunt.", ITEM_NAME);
		return;
	}

	give_magnum_drill(id);

	client_print(id, print_chat, "[ZP] OHHHHH BOIIIIIIII ALL THE Zs are going to get fucking rekt cuz you just bought a %s.", ITEM_NAME);
}
__________________

ANY SCRIPTER ON THIS FORUM HAS FREE VIP/ADMIN IN MY SERVER!

Last edited by New and Clueless; 02-08-2018 at 16:58.
New and Clueless 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 07:21.


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