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

HomeFree v0.7


Post New Thread Reply   
 
Thread Tools Display Modes
ConnorMcLeod
Veteran Member
Join Date: Jul 2006
Location: France (95)
Old 10-01-2011 , 07:41   Re: HomeFree
Reply With Quote #31

PHP Code:
    if( gNewR ) {
        if( ( 
get_pcvar_numgEnabled ) ) && ( is_user_aliveid ) ) && ( cs_get_user_teamid ) == CS_TEAM_T ) && ( gSF[id] == ) ) { 
You can merge those 2 checks.


Code:
            new Float:fallspeed = get_pcvar_float( gfSpeed ) * ( -1.0 )
            new Float:velocity[3]                                     pev( id, pev_velocity, velocity )                         if( velocity[2] < 0 ) {                 velocity[2] = ( velocity[2] + 40.0 < fallspeed ) ? velocity[2] + 40.0 : fallspeed                 set_pev( id, pev_velocity, velocity )             }

you should put the highlighted line into if( velocity[2] < 0 ) { block.
__________________
- tired and retired -

- my plugins -
ConnorMcLeod is offline
Nur56
Member
Join Date: Apr 2007
Old 10-01-2011 , 07:46   Re: HomeFree
Reply With Quote #32

Fixed, hopefully nobody complains about index errors
Nur56 is offline
Nur56
Member
Join Date: Apr 2007
Old 05-18-2012 , 10:37   Re: HomeFree v0.7
Reply With Quote #33

bump
Nur56 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 11:37.


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