This site is a testing version, but all data is shared with the live forum.


Raised This Month: $ Target: $400
 0% 

HelpNoobHp


Post New Thread Reply   
 
Thread Tools Display Modes
Plugin Info:     Modification:   ALL        Category:   General Purpose       
PT_Dew
New Member
Join Date: Mar 2012
Old 04-29-2012 , 12:09   HelpNoobHp
Reply With Quote #1

This Is My First Mod Name HelpNoobHp
This Mod Design For Help Noob Player Who is beginer...

How It's Work?
When Spawn it's will checking Kill and Death score

If Death < Kill it's will working

cvar abc is amount of hp (each x)

x = death - kill

hp = 100 + (x * abc)

such as
abc = 5

player1 kill 10 die 9 (dont' working)
player2 kill 10 die 12 (work x = 2 so his hp = 100+(2 * abc) = 100+(2 * 5) = (100 + 10) = 110

this plug in i code for dont' work if someone use command kill for (kill score <= -5)

Thanks for this web site for i have place to learn write program (amx mod plug in)
i'm bad english sorry

More Death times Kill Less Time Get helpnoobhp : )
Attached Files
File Type: sma Get Plugin or Get Source (helpnoobhp.sma - 607 views - 843 Bytes)
PT_Dew is offline
EpicMonkey
buttmonkey
Join Date: Feb 2012
Old 05-02-2012 , 07:38   Re: HelpNoobHp
Reply With Quote #2

i like the idea of your plugin
EpicMonkey is offline
Mohanad1999
Member
Join Date: Apr 2012
Location: UAE
Old 05-02-2012 , 07:50   Re: HelpNoobHp
Reply With Quote #3

I like it
__________________
Add me in steam: mo_show

Soory for bad english

Go To The Top Only
Mohanad1999 is offline
Send a message via MSN to Mohanad1999
Arkshine
AMX Mod X Plugin Approver
Join Date: Oct 2005
Old 05-02-2012 , 17:38   Re: HelpNoobHp
Reply With Quote #4

Poorly coded, redundant. Unapproved.
__________________
Arkshine is offline
kiki33hun
Veteran Member
Join Date: Jul 2011
Location: Magyarország
Old 05-06-2012 , 01:57   Re: HelpNoobHp
Reply With Quote #5

useless...
__________________
kiki33hun is offline
ConnorMcLeod
Veteran Member
Join Date: Jul 2006
Location: France (95)
Old 05-06-2012 , 05:17   Re: HelpNoobHp
Reply With Quote #6

Code:
set_user_health(id, 100);    if (get_pcvar_num(abc) <= 0) {     return HAM_IGNORED; }    if (get_user_frags(id) <= -5) { client_print(id, print_chat, "WTF Kill Score <= -5 ? sadddd");     return HAM_IGNORED; }    if (iFrags <= 0) {     return HAM_IGNORED; } new aaa = get_user_health(id)

Funny
__________________
- tired and retired -

- my plugins -
ConnorMcLeod is offline
Waleed
Senior Member
Join Date: May 2012
Location: Pakistan
Old 06-17-2012 , 04:41   Re: HelpNoobHp
Reply With Quote #7

You havn't registered anything,Will it compile or work?
__________________
Working On:
  1. Gameplay 1 - 0% [PAUSED]
Waleed is offline
Send a message via Skype™ to Waleed
<VeCo>
Veteran Member
Join Date: Jul 2009
Location: Bulgaria
Old 06-17-2012 , 08:00   Re: HelpNoobHp
Reply With Quote #8

Quote:
Originally Posted by Waleed View Post
You havn't registered anything,Will it compile or work?
The function is registered (plugin_init() is in the end of the code). However, this plugin is a mess, I don't think it will work correctly.
__________________

Last edited by <VeCo>; 06-17-2012 at 08:00.
<VeCo> 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 15:33.


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