Raised This Month: $ Target: $400
 0% 

Solved Take Player +attack


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Natsheh
Veteran Member
Join Date: Sep 2012
Old 07-19-2022 , 04:34   Re: Take Player +attack
Reply With Quote #1

Quote:
Originally Posted by damage220 View Post
FM_CmdStart as well as client_PreThink or client_cmdStart is called on every frame, not a key press, and can be used to catch client state. You can make sure of it by changing fps_max value.
https://forums.alliedmods.net/showpo...03&postcount=5
Cmdstart actually expect when a +action to be used then its called every frame otherwise when there is no action been used it will be stopped getting called.
__________________
@Jailbreak Main Mod v2.7.0 100%
@User Tag Prefix 100% done !
@Mystery Box 100% done !
@VIP System 100% done !


Last edited by Natsheh; 07-19-2022 at 04:35.
Natsheh is offline
Send a message via MSN to Natsheh Send a message via Skype™ to Natsheh
damage220
Senior Member
Join Date: Jul 2022
Location: Ukraine
Old 07-19-2022 , 11:45   Re: Take Player +attack
Reply With Quote #2

Quote:
Originally Posted by Natsheh View Post
Cmdstart actually expect when a +action to be used then its called every frame otherwise when there is no action been used it will be stopped getting called.
Could you provide an example program? I did some tests and found out that any of the mentioned events are called on every frame no matter if there is +cmd or not.
damage220 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:40.


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