Raised This Month: $ Target: $400
 0% 

set user maxspeed


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
ConnorMcLeod
Veteran Member
Join Date: Jul 2006
Location: France (95)
Old 10-23-2010 , 12:04   Re: set user maxspeed
Reply With Quote #5

Quote:
Originally Posted by Schwabba View Post
PHP Code:
register_event("CurWeapon""HookCurWeapon""be""1=1" ); 
PHP Code:
public HookCurWeaponid )
{
    if(
iSpeed[id])
    {
        
set_user_maxspeed(id1000.0);
    }

Gonna work but is not the best method, to keep the same maxspeed whatever the weapon, better to hook ResetMaxSpeed.
__________________
- tired and retired -

- my plugins -
ConnorMcLeod 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 10:21.


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