Raised This Month: $ Target: $400
 0% 

[ZP] Extra Item: Immunity


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
sunx
Veteran Member
Join Date: Mar 2009
Location: Germany
Old 08-10-2009 , 02:31   [ZP] Extra Item: Immunity
Reply With Quote #1

[ZP] Extra Item: Immunity


With this little extra item you cant get infected a
certain time. ( works not with infection nade, unfortunately )
Costs and duration are setable by cvars.
Download the .sma and compile localy, dont know why "get plugin" doesnt work

Cvars:

Code:
cvar_cost = register_cvar("zp_immunity_cost", "20") 
cvar_duration = register_cvar("zp_immunity_duration", "10")
Module:

fakemeta

Credits:

93()|2!/< btw. georgik57 who helped me to finish the code. THX m8


Its my first Plugin, please report bugs.

To do list for next version:


Add Glow
Add sound
Add a player hud information


EDIT 17.09.09
Feel free to re-code this plugin ... i dont care :-)
no time & toooo lazy for scripting

UPDATED VERSION BY JAVIVI:


http://forums.alliedmods.net/showthread.php?t=105537


Attached Files
File Type: sma Get Plugin or Get Source (zp_extra_immunity.sma - 897 views - 1.5 KB)
__________________


Last edited by sunx; 10-05-2009 at 16:56.
sunx is offline
NiHiLaNTh
Way Past Expiration
Join Date: May 2009
Location: Latvia
Old 08-10-2009 , 03:14   Re: [ZP] Extra Item: Immunity
Reply With Quote #2

Didn't found bugs.God job! + karma
PS. Improvements: add sound and rendering
__________________

NiHiLaNTh is offline
Send a message via Skype™ to NiHiLaNTh
zombienation
New Member
Join Date: Sep 2009
Old 09-17-2009 , 05:33   Re: [ZP] Extra Item: Immunity
Reply With Quote #3

you will finish it ?
zombienation is offline
fezh
Veteran Member
Join Date: Dec 2008
Location: BANNED
Old 09-17-2009 , 16:38   Re: [ZP] Extra Item: Immunity
Reply With Quote #4

Why don't you use set_user_godmode() from fun module?
__________________
"There is no knowledge, that is not power"
fezh is offline
lucas_7_94
Leche Loco
Join Date: Mar 2009
Location: Argentina
Old 09-17-2009 , 16:50   Re: [ZP] Extra Item: Immunity
Reply With Quote #5

Good Job Sunx
__________________
ATWWMH - MiniDuels
Madness is like gravity, just need a little push.
lucas_7_94 is offline
Send a message via Skype™ to lucas_7_94
Raddish
BANNED
Join Date: Jul 2008
Location: Argentina
Old 09-17-2009 , 16:55   Re: [ZP] Extra Item: Immunity
Reply With Quote #6

GJ, Very nice
+k ;)
Raddish is offline
xlnixi
Member
Join Date: Sep 2009
Location: Zemun,Serbia
Old 09-17-2009 , 16:59   Re: [ZP] Extra Item: Immunity
Reply With Quote #7

nice..used and working...
xlnixi is offline
Send a message via MSN to xlnixi Send a message via Yahoo to xlnixi
sunx
Veteran Member
Join Date: Mar 2009
Location: Germany
Old 09-17-2009 , 18:01   Re: [ZP] Extra Item: Immunity
Reply With Quote #8

Quote:
Originally Posted by fezh View Post
Why don't you use set_user_godmode() from fun module?
cause im still a noob at scripting this little plugin took me like a week to script xD

Well, not a week, but 1-3 days ... had to learn it first

Anyway i think i wont script again, it makes me just mad

but glow is a must have for this plugin ^^ ill add it - and maybe make another version for zombies:

so people with servers using lasermines can remove the zombie madness and take this one, cause zombies get no dmg from lms then.

of course with sound & glow

think this is a good idea, isnt it ?
__________________


Last edited by sunx; 09-17-2009 at 18:26.
sunx 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:50.


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