Raised This Month: $51 Target: $400
 12% 

Armor & Health Repair [Updated]


Post New Thread Reply   
 
Thread Tools Display Modes
YamiKaitou
Has a lovely bunch of coconuts
Join Date: Apr 2006
Location: Texas
Old 08-03-2012 , 12:37   Re: Armor & Health Repair [Updated]
Reply With Quote #11

Why are you using 2 plugins instead of 1?
__________________
ProjectYami Laboratories

I do not browse the forums regularly anymore. If you need me for anything (asking questions or anything else), then PM me (be descriptive in your PM, message containing only a link to a thread will be ignored).
YamiKaitou is offline
ConnorMcLeod
Veteran Member
Join Date: Jul 2006
Location: France (95)
Old 08-03-2012 , 13:19   Re: Armor & Health Repair [Updated]
Reply With Quote #12

About health regeneration, this plugin can do the job better :

http://forums.alliedmods.net/showthread.php?p=702749

(And if you don't enable other feature the plugin don't use unneeded cpu).


So you can remove health plugin.

About armor, gonna look if code is better.

Edit : Code is still poor, please learn more before you release something.
__________________
- tired and retired -

- my plugins -

Last edited by ConnorMcLeod; 08-03-2012 at 13:20.
ConnorMcLeod is offline
lucas_7_94
Leche Loco
Join Date: Mar 2009
Location: Argentina
Old 08-03-2012 , 13:45   Re: Armor & Health Repair [Updated]
Reply With Quote #13

Spoiler


What is your opinion ? Only , for know if i'm doing the correct way.
__________________
ATWWMH - MiniDuels
Madness is like gravity, just need a little push.

Last edited by lucas_7_94; 08-03-2012 at 14:08.
lucas_7_94 is offline
Send a message via Skype™ to lucas_7_94
ConnorMcLeod
Veteran Member
Join Date: Jul 2006
Location: France (95)
Old 08-03-2012 , 15:17   Re: Armor & Health Repair [Updated]
Reply With Quote #14

Won't work, you consider messages as a think routine but it's not the case, once you gonna exit the function because delay is < TASK_UPDATE_HEALTH, nothing with be executed anymore.
__________________
- tired and retired -

- my plugins -
ConnorMcLeod is offline
lucas_7_94
Leche Loco
Join Date: Mar 2009
Location: Argentina
Old 08-03-2012 , 16:41   Re: Armor & Health Repair [Updated]
Reply With Quote #15

Oh , now understand , another method exists ?
__________________
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
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 05:50.


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