Raised This Month: $ Target: $400
 0% 

Player invisibility and speed problem


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
RateX
Veteran Member
Join Date: Jun 2012
Location: 0o. SEA .o0
Old 12-06-2014 , 06:05   Re: Player invisibility and speed problem
Reply With Quote #1

CurWeapon is still called more times than Ham_CS_Player_ResetMaxSpeed, literally after every shots and weapon changes, so use Ham_CS_Player_ResetMaxSpeed is recommended. Also, use ExecuteHamB when you want to change speed immediately.
RateX is offline
Krtola
Veteran Member
Join Date: Oct 2013
Location: Serbia
Old 12-06-2014 , 12:14   Re: Player invisibility and speed problem
Reply With Quote #2

Quote:
Originally Posted by RateX View Post
CurWeapon is still called more times than Ham_CS_Player_ResetMaxSpeed, literally after every shots and weapon changes, so use Ham_CS_Player_ResetMaxSpeed is recommended. Also, use ExecuteHamB when you want to change speed immediately.
Can you please do that for me,in this case (plugin). Then,I could teach with this example????
Krtola is offline
Send a message via Skype™ to Krtola
HamletEagle
AMX Mod X Plugin Approver
Join Date: Sep 2013
Location: Romania
Old 12-06-2014 , 12:30   Re: Player invisibility and speed problem
Reply With Quote #3

Quote:
Originally Posted by RateX View Post
CurWeapon is still called more times than Ham_CS_Player_ResetMaxSpeed, literally after every shots and weapon changes, so use Ham_CS_Player_ResetMaxSpeed is recommended. Also, use ExecuteHamB when you want to change speed immediately.
Do you know the difference between ExecuteHam and ExecuteHamB ? ExecuteHamB let other plugins to receive that call, but you may get into an infinite loop.
__________________
HamletEagle is offline
Reply



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 15:24.


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