Raised This Month: $ Target: $400
 0% 

MAXSPEED


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
Kryzu
Senior Member
Join Date: Feb 2009
Old 10-05-2009 , 09:15   MAXSPEED
Reply With Quote #1

Hello!

I know this has been already asked and helped, i found the topics, but couldn't mix it into my script:S

Could anyone help me making this code working:

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 );
            }
        

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

    }

Atm this maxspeed isn't working at all. It worked untill i tried to make it to change player's maxspeed permentaly not untill weapon change. So could anyone make it working even if player changes weapons.
+karma

TY!
__________________
Kryzu is offline
 


Thread Tools
Display Modes

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