Raised This Month: $ Target: $400
 0% 

MAXSPEED


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Kryzu
Senior Member
Join Date: Feb 2009
Old 10-05-2009 , 09:35   Re: MAXSPEED
Reply With Quote #6

Quote:
Originally Posted by xPaw View Post
Register the CurWeapon event, and in the function fix the speed.
Someone had to be VERY busy...

PHP Code:
public GiveStuffid ) {
    if( 
is_user_aliveid ) ) {
        
strip_user_weaponsid )
        
give_itemid"weapon_flashbang" );
        
give_itemid"weapon_smokegrenade" );
        
give_itemid"weapon_knife" );
        
give_itemid"weapon_usp" );
        
        new 
iUsp find_ent_by_owner( -1"weapon_usp"id );
        
        if( 
iUsp ){
            
cs_set_weapon_ammoiUsp10 );
            }
        
        
Event_CurWeapon_Activeid )

        new 
iCurWeapon read_data(2)
        if( 
iCurWeapon != g_iCurWeapon[id] )
        {
            
g_iCurWeapon[id] = iCurWeapon
        set_user_maxspeed
(id270.0)
        }    

    }

I did everything by this:

http://forums.alliedmods.net/showpos...02&postcount=5
__________________
Kryzu 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 22:34.


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