Raised This Month: $ Target: $400
 0% 

fl_frozen NOT


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
mazmaajinsh
Senior Member
Join Date: Apr 2005
Location: Latvia
Old 12-12-2007 , 14:49   fl_frozen NOT
Reply With Quote #1

PHP Code:
public start_countdown()

    
say_time_remainingcup_start_countdown 
    
cup_start_countdown-- 
    if( 
cup_start_countdown <= )
    { 
        
client_print(0,print_chat,"[%s] Jump Cup has been started!"jc_pluginname )
        
set_cvar_string"kz_checkpoints""0")
        
set_cvar_string"amx_pausecfg pause""prokreedz_hook")
        
remove_task(8638458
        
        new 
players[32], num;
        
get_players(playersnum"ach""");
        for( new 
0numi++ )
        {
            
set_pev(players[i], pev_flagspev(players[i], pev_flags) & ~FL_FROZEN);
        }
        
        
set_task(1.0,"time_remaining",8638459,"",0,"b"
        
    } 

The problem is, i want to change so it doesnt use FL_FROZEN, but just sets server cl_sidespeed cl_forwardspeed and cl_backspeed to 0, and when the countdown ends it will set cl_sidespeed cl_forwardspeed and cl_backspeed back to 400.
__________________
Ahujena
mazmaajinsh is offline
Wilson [29th ID]
Veteran Member
Join Date: Nov 2005
Location: London
Old 12-13-2007 , 07:13   Re: fl_frozen NOT
Reply With Quote #2

Just change his pev_maxspeed to 0
__________________

Day of Defeat AMXX Community

FakeMeta Research . Voice Proximity . Advanced Deploy . Technician
Wilson [29th ID] is offline
Send a message via ICQ to Wilson [29th ID] Send a message via AIM to Wilson [29th ID] Send a message via MSN to Wilson [29th ID] Send a message via Yahoo to Wilson [29th ID]
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:01.


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