Raised This Month: $ Target: $400
 0% 

[ZP] Zombie Class: Grabbing Zombie


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
nikhilgupta345
Veteran Member
Join Date: Aug 2009
Location: Virginia
Old 08-26-2010 , 19:30   [ZP] Zombie Class: Grabbing Zombie
Reply With Quote #1

[ZP] Zombie Class: Grabbing Zombie by nikhilgupta345


Info - Anyone who uses this zombie class will have the power to do the following, depending on set cvars:

Bind a key to drop_cmd - which can either strip the users weapon at which they aim and press the button on, or can set the user's ammo (in backpack) to 0.
Use it a set number of times per round.
If set, the person who used the command will lose hp every time they use the command.
_____________________________________________ __________________________________

Cvars:

zp_rounduse - How many times the command can be used per round, 0 for unlimited

zp_stripweapon - 1 = strip users weapon, 0 = set user's bp ammo (backpack) to 0

zp_removehp - if more than 0, will reduce hp each time zombie uses this class by however much this cvar is set to.

_____________________________________________ ___________________________________

Changelog:

v1.0 - Initial Release

v1.1 - Added cvars and pcvars, and some more features

_____________________________________________ ____________________________________

Credits:
nikhilgupta345 (me) - making the plugin
Kingofking1105 - Idea
_____________________________________________ _____________________________________



Lol srry, but this is being kinda gay, when I upload the sma file as well, it provides a link to "get plugin", which does not work since the web compiler doesn't have zombieplague include. Anyone care to help? Just don't click the Get Plugin for now.
Attached Files
File Type: sma Get Plugin or Get Source (grabbingzombie.sma - 910 views - 4.1 KB)

Last edited by nikhilgupta345; 08-28-2010 at 11:30.
nikhilgupta345 is offline
Send a message via ICQ to nikhilgupta345 Send a message via Yahoo to nikhilgupta345
Ryokin
Senior Member
Join Date: Jan 2010
Old 08-26-2010 , 22:24   Re: [ZP] Zombie Class: Grabbing Zombie
Reply With Quote #2

PHP Code:
HasUsedGrab[id] == true 
>>
PHP Code:
HasUserGrab[id
and look at zombie-example again..
i think press button to use ability may be better
__________________
NH4CL + NaOH -> NH3 + H2O + NaCL

Last edited by Ryokin; 08-26-2010 at 23:39.
Ryokin is offline
nikhilgupta345
Veteran Member
Join Date: Aug 2009
Location: Virginia
Old 08-26-2010 , 23:12   Re: [ZP] Zombie Class: Grabbing Zombie
Reply With Quote #3

You do press button. Whatever button you bind to grab_weapon. Lol.

Fixed other problem. About the button, what button did you have in mind?

Also, do you have any idea about the Get Plugin not working? if you've ever uploaded before, how do you get around the webcompiler not having zombieplague include

Last edited by nikhilgupta345; 08-26-2010 at 23:14.
nikhilgupta345 is offline
Send a message via ICQ to nikhilgupta345 Send a message via Yahoo to nikhilgupta345
Backstabnoob
BANNED
Join Date: Feb 2009
Location: Iwotadai Dorm
Old 08-27-2010 , 14:46   Re: [ZP] Zombie Class: Grabbing Zombie
Reply With Quote #4

Quote:
Originally Posted by Ryokin View Post
PHP Code:
HasUsedGrab[id] == true 
>>
PHP Code:
HasUserGrab[id
Trivial optimization.
Backstabnoob is offline
Vechta
Veteran Member
Join Date: Jun 2010
Old 08-27-2010 , 01:36   Re: [ZP] Zombie Class: Grabbing Zombie
Reply With Quote #5

Don't upload Amxx File!
and i think he ment +USE button
Vechta is offline
albert123
Veteran Member
Join Date: Mar 2009
Location: VietNam, Hai Phong
Old 08-27-2010 , 10:59   Re: [ZP] Zombie Class: Grabbing Zombie
Reply With Quote #6

You should set drop_cmd to use this abillity
__________________
albert123 is offline
nikhilgupta345
Veteran Member
Join Date: Aug 2009
Location: Virginia
Old 08-27-2010 , 14:21   Re: [ZP] Zombie Class: Grabbing Zombie
Reply With Quote #7

Quote:
Originally Posted by albert123 View Post
You should set drop_cmd to use this abillity


I'll fix it when i get home. Will add some
Cvars also.
nikhilgupta345 is offline
Send a message via ICQ to nikhilgupta345 Send a message via Yahoo to nikhilgupta345
kingofking1105
Member
Join Date: Jul 2010
Old 08-27-2010 , 12:33   Re: [ZP] Zombie Class: Grabbing Zombie
Reply With Quote #8

My idead
kingofking1105 is offline
nikhilgupta345
Veteran Member
Join Date: Aug 2009
Location: Virginia
Old 08-27-2010 , 23:24   Re: [ZP] Zombie Class: Grabbing Zombie
Reply With Quote #9

v1.1 released. Added cvars and some new features.
nikhilgupta345 is offline
Send a message via ICQ to nikhilgupta345 Send a message via Yahoo to nikhilgupta345
jc980
Veteran Member
Join Date: Jan 2010
Location: God is with us...
Old 08-28-2010 , 08:48   Re: [ZP] Zombie Class: Grabbing Zombie
Reply With Quote #10

REMOVE AMXX FILE.
__________________
jc980 is offline
Reply


Thread Tools
Display Modes

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:23.


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