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:19   Re: MAXSPEED
Reply With Quote #3

Quote:
Originally Posted by Exolent[jNr] View Post
There are several threads that change a player's maxspeed and keep it that way on weapon change.
Search.

Ye i know. As u can see, i wrote it into my topic too.

I took the Curweapon code from http://forums.alliedmods.net/showthread.php?t=94331

BUT

FAiled adding it:s


I have to add this:
PHP Code:
public Event_CurWeapon_Activeid )
{
    new 
iCurWeapon read_data(2)
    if( 
iCurWeapon != g_iCurWeapon[id] )
    {
        
g_iCurWeapon[id] = iCurWeapon
        
new Float:flCustomMaxSpeed g_flCustomMaxSpeed[id]
        if( 
flCustomMaxSpeed != 0.0 )
        {
            
set_user_maxspeed(idflCustomMaxSpeed)
        }
    }

__________________

Last edited by Kryzu; 10-05-2009 at 09:26.
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