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

HNS Danger Meter


Post New Thread Reply   
 
Thread Tools Display Modes
crazyeffect
Veteran Member
Join Date: Jul 2008
Location: Belgium
Old 07-28-2009 , 14:29   Re: HNS Danger Meter
Reply With Quote #11

Cool


ML
__________________
crazyeffect is offline
Send a message via MSN to crazyeffect
mplayerexe
Senior Member
Join Date: Dec 2008
Old 07-29-2009 , 15:27   Re: HNS Danger Meter
Reply With Quote #12

Put a cvar for teams
Something like danger_meter 1,2,3 (1 for t 2 for ct and 3 both)
__________________
mplayerexe is offline
Hawk552
AMX Mod X Moderator
Join Date: Aug 2005
Old 08-14-2009 , 16:16   Re: HNS Danger Meter
Reply With Quote #13

There are a few mistakes and optimizations that can be made, however it is acceptable.

If you would like any information regarding possible adjustments you could make or things you could do to make this better, please feel free to post here or PM me.

Approved.
__________________
Hawk552 is offline
Send a message via AIM to Hawk552
Alka
AMX Mod X Plugin Approver
Join Date: Dec 2006
Location: malloc(null)
Old 08-14-2009 , 16:24   Re: HNS Danger Meter
Reply With Quote #14

Oh, hey Hawky, tell me any possible optimizations / mistakes, why not?
__________________
Still...lovin' . Connor noob! Hello
Alka is offline
Hawk552
AMX Mod X Moderator
Join Date: Aug 2005
Old 08-14-2009 , 18:35   Re: HNS Danger Meter
Reply With Quote #15

Don't make everything static.

PHP Code:
    new iEnt engfunc(EngFunc_CreateNamedEntityengfunc(EngFunc_AllocString"info_target"));
    
set_pev(iEntpev_classname"task_meter");
    
set_pev(iEntpev_nextthinkget_gametime()); 
Check if the ent spawned before modifying it.

PHP Code:
if(fDistance[i] != 9999999.1337
what

PHP Code:
for(new i2 i2 num i2++) 
Not important but you should generally not include numbers in variable names. I usually use "j" if I need a nested loop variable.

PHP Code:
stock subVec(Float:Vec1[3],Float:Vec2[3],Float:Ret[3])
{
    
Ret[0] = Vec1[0] - Vec2[0];
    
Ret[1] = Vec1[1] - Vec2[1];
    
Ret[2] = Vec1[2] - Vec2[2];

Consider using XS.
__________________
Hawk552 is offline
Send a message via AIM to Hawk552
lukax
Member
Join Date: Oct 2009
Location: o0 -> [bp]
Old 10-27-2009 , 14:10   Re: HNS Danger Meter
Reply With Quote #16

can someone change this for both teams?
CT, and TR
or add a cvar
__________________
Sorry badlyestness ENGLISH ~~
IF YOU WANT [BP] PM ME !


lukax is offline
Send a message via ICQ to lukax Send a message via AIM to lukax Send a message via MSN to lukax Send a message via Yahoo to lukax
shuttle_wave
Veteran Member
Join Date: Apr 2009
Location: New Zealand
Old 11-07-2009 , 19:01   Re: HNS Danger Meter
Reply With Quote #17

Wow nice work
shuttle_wave is offline
chRjjz ~
BANNED
Join Date: Dec 2009
Location: Uruguay
Old 01-14-2010 , 18:47   Re: HNS Danger Meter
Reply With Quote #18

Muy buen plugin lo estaba buscando por todos lados para mi HideNSeek y no sabia el nombre alfin lo enontre !

Muchas Gracias saludos !
chRjjz ~ is offline
Send a message via MSN to chRjjz ~ Send a message via Skype™ to chRjjz ~
gunnersslash
Member
Join Date: Mar 2009
Old 01-25-2010 , 19:12   Re: HNS Danger Meter
Reply With Quote #19

hey this should have a cvar to chose if CT, or TT can uses the function.. i'm saying this cuz TT's camps a lot in hns and uses a campmeter is unfair
gunnersslash is offline
Rirre
Veteran Member
Join Date: Nov 2006
Old 01-26-2010 , 02:51   Re: HNS Danger Meter
Reply With Quote #20

Quote:
Originally Posted by mplayerexe View Post
Put a cvar for teams
Something like danger_meter 1,2,3 (1 for t 2 for ct and 3 both)
I would like this feature to be added also.
Rirre 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 18:50.


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