Raised This Month: $12 Target: $400
 3% 

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


Post New Thread Reply   
 
Thread Tools Display Modes
sekac
Senior Member
Join Date: Nov 2016
Old 10-16-2017 , 11: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, 11:56
sekac
This message has been deleted by sekac. Reason: Wtf double msg
sekac
Senior Member
Join Date: Nov 2016
Old 10-16-2017 , 15: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
Location: Lithuania
Old 10-17-2017 , 12: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
__________________
retired chump
DjSoftero is offline
sekac
Senior Member
Join Date: Nov 2016
Old 10-18-2017 , 12: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 , 13: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
Location: Lithuania
Old 10-18-2017 , 13: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
__________________
retired chump
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 11:12.


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