Raised This Month: $ Target: $400
 0% 

Detect if func_door is Open


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
NzGamers
Member
Join Date: Jul 2009
Old 07-12-2010 , 22:37   Detect if func_door is Open
Reply With Quote #1

How do u detect if func_door is opened?
NzGamers is offline
Alucard^
AMXX Moderator: Others
Join Date: Sep 2007
Location: Street
Old 07-12-2010 , 23:08   Re: Detect if func_door is Open
Reply With Quote #2

The only method that i think is detecting when the door is touched and then is open, if is touched another time is closed... but maybe there is a better method.
__________________
Approved Plugins - Steam Profile

Public non-terminated projects:
All Admins Menu, HLTV parameters, Subnick,
Second Password (cool style), InfoZone,
Binary C4 plant/defuse, and more...

Private projects:
NoSpec (+menu), NV Surf Management,
PM Adanved System, KZ longjump2, and more...
Alucard^ is offline
Send a message via Skype™ to Alucard^
GXLZPGX
Veteran Member
Join Date: Sep 2009
Old 07-12-2010 , 23:12   Re: Detect if func_door is Open
Reply With Quote #3

Quote:
Originally Posted by Alucard^ View Post
The only method that i think is detecting when the door is touched and then is open, if is touched another time is closed... but maybe there is a better method.
But most doors automatically close. So if you set it to Closed the second time you touched it, it might get fucked up.
__________________
Currently accepting payment US DOLLARS ONLY for custom plugins, contact me through PM.
GXLZPGX is offline
jim_yang
Veteran Member
Join Date: Aug 2006
Old 07-13-2010 , 01:11   Re: Detect if func_door is Open
Reply With Quote #4

maybe try some pdata offset from class CBaseToggle, m_toggle_state or something, have a try and see what happened.
__________________
Project : CSDM all in one - 99%
<team balancer#no round end#entity remover#quake sounds#fake full#maps management menu#players punishment menu#no team flash#colored flashbang#grenade trails#HE effect#spawn protection#weapon arena#weapon upgrade#auto join#no weapon drop#one name>
jim_yang is offline
NzGamers
Member
Join Date: Jul 2009
Old 07-13-2010 , 04:02   Re: Detect if func_door is Open
Reply With Quote #5

example plz
NzGamers 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 07:06.


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