Raised This Month: $ Target: $400
 0% 

[SOLVED] Really best way to set max speed?


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Nextra
Veteran Member
Join Date: Apr 2008
Location: Germany
Old 05-16-2015 , 15:12   Re: Really best way to set max speed?
Reply With Quote #1

Quote:
Originally Posted by xEhsaan View Post
I tried this:
PHP Code:
set_user_maxspeedid ); // to return to default 
But it just freezes the player.
That does not reset to default and is expected behavior. You can simply tell the game to reset the max speed by calling ExecuteHamB(Ham_CS_Player_ResetMaxSpeed, client). Obviously you need to make sure your own Ham_CS_Player_ResetMaxSpeed hook does not overwrite the value again.
__________________
In Flames we trust!

Last edited by Nextra; 05-16-2015 at 15:13.
Nextra is offline
Reply


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 18:43.


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