Raised This Month: $134 Target: $400
 33% 

[CS 1.6] How to detect if a player is crouched?


Post New Thread Reply   
 
Thread Tools Display Modes
sekac
Member
Join Date: Nov 2016
Old 10-16-2017 , 12:42   Re: [CS 1.6] How to detect if a player is crouched?
Reply With Quote #11

I really don`t wont to use orpheu, is there any other way of doing it?
sekac is offline
Old 10-16-2017, 12:56
sekac
This message has been deleted by sekac. Reason: Wtf double msg
sekac
Member
Join Date: Nov 2016
Old 10-16-2017 , 16:32   Re: [CS 1.6] How to detect if a player is crouched?
Reply With Quote #12

Solved with fakemeta.
PHP Code:
if(pev(idpev_flags) & FL_DUCKING
sekac is offline
DjSoftero
Veteran Member
Join Date: Nov 2014
Old 10-17-2017 , 13:42   Re: [CS 1.6] How to detect if a player is crouched?
Reply With Quote #13

Quote:
Originally Posted by sekac View Post
Solved with fakemeta.
PHP Code:
if(pev(idpev_flags) & FL_DUCKING
I thought it doesn`t get triggered if player is crouching in a went, and has has ctrl released
__________________
DjSoftero is offline
sekac
Member
Join Date: Nov 2016
Old 10-18-2017 , 13:25   Re: [CS 1.6] How to detect if a player is crouched?
Reply With Quote #14

It works fine for me
sekac is offline
KliPPy
AlliedModders Donor
Join Date: May 2013
Location: Serbia
Old 10-18-2017 , 14:06   Re: [CS 1.6] How to detect if a player is crouched?
Reply With Quote #15

Quote:
Originally Posted by DjSoftero View Post
I thought it doesn`t get triggered if player is crouching in a went, and has has ctrl released
What you are thinking is the IN_DUCK buttons flag for which your statement holds true.
KliPPy is offline
DjSoftero
Veteran Member
Join Date: Nov 2014
Old 10-18-2017 , 14:44   Re: [CS 1.6] How to detect if a player is crouched?
Reply With Quote #16

Quote:
Originally Posted by KliPPy View Post
What you are thinking is the IN_DUCK buttons flag for which your statement holds true.
gotcha
__________________
DjSoftero 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 07:13.


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