Raised This Month: $ Target: $400
 0% 

func_door_rotating


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
Cheap_Suit
Veteran Member
Join Date: May 2004
Old 12-13-2005 , 21:18   func_door_rotating
Reply With Quote #1

1. I want to lock a door, so player's wont be able to open it. Would this work?

Code:
register_forward(FM_Think, "fw_entitythink", 0) public fw_entitythink(ent) {     if(g_DoorLocked[ent]) return FMRES_SUPERCEDE     return FMRES_IGNORED }
The code is shorten. I just want to know if FMRES_SUPERCEDE would stop it from rotating.

2. I want to make a door not solid, so player's can go through it. Would this work?
Code:
entity_get_edict(ent, SOLID_NOT)
Im asking because in Ryan's Breakable door plugin, he move the door to another origin so player's can go through.
__________________
HDD fried, failed to backup files. Sorry folks, just don't have free time anymore. This is goodbye.
Cheap_Suit is offline
 



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:58.


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