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

Glow & Trail by health


Post New Thread Reply   
 
Thread Tools Display Modes
ArabicMan
Veteran Member
Join Date: Feb 2014
Location: مصر
Old 06-01-2014 , 12:37   Re: Glow & Trail by health
Reply With Quote #21

Quote:
Originally Posted by Freezo Begin View Post
did you try it with 32 player ?
i don't think it will make lag .
I try it 12 vs 12 real players not bot already lagged server.
ArabicMan is offline
Freezo Begin
BANNED
Join Date: Mar 2014
Location: Morocco
Old 06-01-2014 , 12:48   Re: Glow & Trail by health
Reply With Quote #22

hmm . weird i will try to fix it ^^' !
Freezo Begin is offline
Backstabnoob
Veteran Member
Join Date: Feb 2009
Location: Iwotadai Dorm
Old 06-02-2014 , 07:55   Re: Glow & Trail by health
Reply With Quote #23

I can't take this seriously. Why are you releasing plugins when you don't know anything about scripting?

You just copied the trail code from somewhere and changed the color based on health of the user which is also completely inefficient.

Also, your comments are incredibly annoying to look at.
__________________
Currently busy working on a very large scale anime database project.

Last edited by Backstabnoob; 06-02-2014 at 07:57.
Backstabnoob is offline
Freezo Begin
BANNED
Join Date: Mar 2014
Location: Morocco
Old 06-02-2014 , 08:02   Re: Glow & Trail by health
Reply With Quote #24

idk anything about scripting hmmm . if is that right i can learn more . i just copied the trail .... i think the idea is better than doing this plugin . thanks :/ .

Edit : you should begin to change your name because ... Backstabnoob do you like now my comments xD !( calm down )

Last edited by Freezo Begin; 04-11-2015 at 18:56.
Freezo Begin is offline
Backstabnoob
Veteran Member
Join Date: Feb 2009
Location: Iwotadai Dorm
Old 06-02-2014 , 08:17   Re: Glow & Trail by health
Reply With Quote #25

What? I'm not sure if you're trying to insult me, but if you ever want this to get approved, learn how to code and properly rewrite it.

For now, I'm unapproving this.
__________________
Currently busy working on a very large scale anime database project.
Backstabnoob is offline
Freezo Begin
BANNED
Join Date: Mar 2014
Location: Morocco
Old 06-02-2014 , 08:21   Re: Glow & Trail by health
Reply With Quote #26

lol do you think i'm fried ? you can make it for ever unapproved . but at least you should learn showing some respect .

P.S : you should look at your first post in this forum before saying you should learn scripting .

Last edited by Freezo Begin; 04-11-2015 at 18:57.
Freezo Begin is offline
Backstabnoob
Veteran Member
Join Date: Feb 2009
Location: Iwotadai Dorm
Old 06-02-2014 , 08:28   Re: Glow & Trail by health
Reply With Quote #27

Show respect to what? If you create a thread in the New Plugin Submissions that just consists of a copy pasted plugin with some stuff added (that's actually badly coded), you don't deserve respect. That's how it is.

Congratulations for digging up 5 years old posts as an argument. I'm not going to further participate in your thread unless you decide to actually do something to make the approval happen.
__________________
Currently busy working on a very large scale anime database project.
Backstabnoob is offline
GinNNy
Senior Member
Join Date: Mar 2014
Old 06-02-2014 , 08:44   Re: Glow & Trail by health
Reply With Quote #28

@backstabnoob
you weren't an amxmodx plugin approver before if im not wrong?
if yes Congratulations

freeze begin he didnt insult you anyway make another plugin not about health better.


dont understand me wrong buddy
GinNNy is offline
OvidiuS
Chillaxin'
Join Date: Dec 2009
Location: Serbia
Old 06-02-2014 , 09:13   Re: Glow & Trail by health
Reply With Quote #29

Friend asked me to check this plugin, so i rewrote some things for him. Anyway, i see that plugin is unapproved but i'll post the edit here. I haven't tested this :S
Code:
#include < amxmodx > #include < amxmisc > #include < fun > #define TASK_TRAIL    77921 enum _:TRAIL_DATA {     ENABLED,     GREEN,     YELLOW,     ORANGE,     RED }; new const global_colorsTrail[ TRAIL_DATA ][ 3 ] = {     { 0, 0, 0 },     { 0, 255, 0 },     { 255, 255, 0 },     { 255, 127, 0 },     { 255, 0, 0 } }; new const global_cvarTrail[ TRAIL_DATA ][ ] = {     "trail_enabled",     "health_green",     "health_yellow",     "health_orange",     "health_red" }; new const global_cvarValues[ TRAIL_DATA ] = {     1,     80,     40,     20,     0 }; new global_cvarPointer[ TRAIL_DATA ]; new global_eColor[ 33 ],     global_iPlayerOrigin[ 33 ][ 3 ]; new global_iTrail; public plugin_init( )  {     register_plugin( "Glow Health & Trail", "1.0", "Nah, don't care" );     register_event( "Health", "event_Health", "b" )     for( new i = 0; i < TRAIL_DATA; i++ )         global_cvarPointer[ i ] = register_cvar( global_cvarTrail[ i ], global_cvarValues[ i ] );    } public plugin_precache( ) {     global_iTrail = precache_model( "sprites/laserbeam.spr" ); } public client_connect( id ) {     resetTrailColor( id ); } public event_Health( id ) {     new iHealth = read_data( 1 );     if( iHealth <= 0 )         return;     new bool:shouldChange = false, tempColor;     for( new i = 1; i < TRAIL_DATA; i++ )     {         if( iHealth > get_pcvar_num( global_cvarPointer[ i ] ) )         {             if( global_eColor[ id ] != i )             {                 tempColor = i;                 shouldChange = true;             }             break;         }     }     if( shouldChange )     {         removePlayerTrail( id );         global_eColor[ id ] = tempColor;         get_user_origin( id, global_iPlayerOrigin[ id ] );         set_task( 3.0, "Task_CheckPosition", TASK_TRAIL + id, "", 0, "b" );         set_user_rendering( id, kRenderFxGlowShell,             global_colorsTrail[ global_eColor[ id ] ][ 0 ],             global_colorsTrail[ global_eColor[ id ] ][ 1 ],             global_colorsTrail[ global_eColor[ id ] ][ 2 ],             kRenderNormal, 15 );     } } public Task_CheckPosition( id ) {     id -= TASK_TRAIL;     if ( !get_user_team( id ) )     {         removePlayerTrail( id );         return;      }     new tempOrigin[ 3 ];     get_user_origin( id, tempOrigin );     if( tempOrigin[ 0 ] != global_iPlayerOrigin[ id ][ 0 ] ||         tempOrigin[ 1 ] != global_iPlayerOrigin[ id ][ 1 ] ||         tempOrigin[ 2 ] != global_iPlayerOrigin[ id ][ 2 ] )     {         if( get_distance( tempOrigin, global_iPlayerOrigin[ id ] ) > 300 )         {             removeTrailEntity( id );             createTrailEntity( id );         }         global_iPlayerOrigin[ id ][ 0 ] = tempOrigin[ 0 ];         global_iPlayerOrigin[ id ][ 1 ] = tempOrigin[ 1 ];         global_iPlayerOrigin[ id ][ 2 ] = tempOrigin[ 2 ];     } } removePlayerTrail( id ) {     if( task_exists( TASK_TRAIL + id ) )         remove_task( TASK_TRAIL + id );     removeTrailEntity( id );     resetTrailColor( id ); } removeTrailEntity( id ) {     message_begin( MSG_BROADCAST, SVC_TEMPENTITY );     write_byte( TE_KILLBEAM );     write_short( id );     message_end( ); } resetTrailColor( id ) {     global_eColor[ id ] = 0; } createTrailEntity( id ) {     message_begin( MSG_BROADCAST, SVC_TEMPENTITY );     write_byte( TE_BEAMFOLLOW );     write_short( id );     write_short( global_iTrail );     write_byte( 15 );     write_byte( 5 );     write_byte( global_colorsTrail[ global_eColor[ id ] ][ 0 ] );     write_byte( global_colorsTrail[ global_eColor[ id ] ][ 1 ] );     write_byte( global_colorsTrail[ global_eColor[ id ] ][ 2 ] );     write_byte( 150 );     message_end( ); }

Last edited by OvidiuS; 06-02-2014 at 09:20.
OvidiuS is offline
Send a message via Skype™ to OvidiuS
Old 06-02-2014, 09:56
Freezo Begin
This message has been deleted by Freezo Begin.
UGB05
Member
Join Date: Jun 2014
Location: Casablanca Morocco
Old 06-06-2014 , 12:20   Re: Glow & Trail by health
Reply With Quote #30

Nice Plugin Broo
UGB05 is offline
Send a message via Skype™ to UGB05
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 03:28.


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