Raised This Month: $ Target: $400
 0% 

Entity Help


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Pastout
Senior Member
Join Date: Dec 2010
Location: 1337 Street LeetTown
Old 01-12-2011 , 19:07   Entity Help
Reply With Quote #1

I have a func_wall_toggle entity that is tried to a button and when press a button You can go though the wall as if it wasn't there, but heres my problem on round start this entity doesn't return back to solid you have to press the button again is there a way to reset it back to a solid ?

Maybe something like this
PHP Code:
 
public Event_Roundstart()
{
          new 
classname[32]
          
pevtargetpev_classnameclassname31 
          if( 
equalclassname"func_wall_toggle" )
          {
                 
//// NOIDEA :[
          
}

Pastout is offline
Arkshine
AMX Mod X Plugin Approver
Join Date: Oct 2005
Old 01-12-2011 , 19:21   Re: Entity Help
Reply With Quote #2

Call Ham_Use , like : ExecuteHam( Ham_Use, entity, 0, 0, 1, 0.0 ); // 1 = USE_ON

You have to loop through all the func_wall_toggle entities.
__________________
Arkshine is offline
Pastout
Senior Member
Join Date: Dec 2010
Location: 1337 Street LeetTown
Old 01-12-2011 , 19:26   Re: Entity Help
Reply With Quote #3

You are the best Thanks
Pastout 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 19:42.


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