Raised This Month: $ Target: $400
 0% 

Block the stwich weapon of players.


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
lolzin123
Member
Join Date: Apr 2009
Old 06-24-2009 , 12:04   Re: Block the stwich weapon of players.
Reply With Quote #3

I'm Trying to use this code:
PHP Code:
if( get_gametime() - gSlowedTime[plr] < 3.0
            
&& gEntSlowed[plr] == ent )
            {
                
set_pev(plrpev_maxspeed75.0);
            }
            
            if( !
task_exists(TASK_ID_MAXSPEED plr0) )
            {
                new 
szEntId[5];
                
num_to_str(entszEntId4);
                
                
set_task(3.0"tskMaxSpeed"TASK_ID_MAXSPEED plrszEntId4""0);
            } 
but when the plr stwitch the weapons, the slowtime disappears

Any idea?
lolzin123 is offline
 



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 15:35.


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