Raised This Month: $ Target: $400
 0% 

why this pev_ is absent from includes ?


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
avril-lavigne
Banned
Join Date: Apr 2009
Old 01-09-2014 , 16:05   why this pev_ is absent from includes ?
Reply With Quote #1

Im trying to lock all doors


PHP Code:
       new Door;
       while((
Door find_ent_by_class(Door,"func_door_rotating"))) {
       
pev(Door,pev_no_open,1)
      
// set_entity_visibility( Door, 0 )
       
}
       while((
Door find_ent_by_class(Door,"func_door"))) {
       
pev(Door,pev_no_open1)
     
//  set_entity_visibility( Door, 0 );
       

I cant find any information about pev_no_open, even in inc files.
__________________
VDS in Europe 1 gb/s unmetered.Any configurations.
I accept Paypal, Moneybookers,etc
avril-lavigne is offline
hornet
AMX Mod X Plugin Approver
Join Date: Mar 2010
Location: Australia
Old 01-09-2014 , 19:19   Re: why this pev_ is absent from includes ?
Reply With Quote #2

Not sure where you've found this "pev_no_open".

It would depend on what doors your trying to lock. Doors that only require the player to press use on them - no problem. Doors that are targetted by a button - no problem.
However if you have doors that open on touch it will be a problem since you can only properly strip it's use only flag on spawn. Of course you can respawn the door but it's properties will reset.

Provide some more info.
__________________
Quote:
vBulletin Tip #42: Not much would be accomplished by merging this item with itself.

Last edited by hornet; 01-09-2014 at 19:21.
hornet is offline
ConnorMcLeod
Veteran Member
Join Date: Jul 2006
Location: France (95)
Old 01-10-2014 , 01:32   Re: why this pev_ is absent from includes ?
Reply With Quote #3

Have a look at the top of sma you are browsing, should be some line like :

#define pev_no_open pev_iuser1
__________________
- tired and retired -

- my plugins -
ConnorMcLeod is offline
avril-lavigne
Banned
Join Date: Apr 2009
Old 01-10-2014 , 04:12   Re: why this pev_ is absent from includes ?
Reply With Quote #4

dont work, I tried https://forums.alliedmods.net/attach...3&d=1288576773

this plugin. the doors still opening by pushing it
__________________
VDS in Europe 1 gb/s unmetered.Any configurations.
I accept Paypal, Moneybookers,etc

Last edited by avril-lavigne; 01-10-2014 at 04:32.
avril-lavigne is offline
ConnorMcLeod
Veteran Member
Join Date: Jul 2006
Location: France (95)
Old 01-10-2014 , 13:16   Re: why this pev_ is absent from includes ?
Reply With Quote #5

About your thread title :

Plugin's author is using custom filed iuser4 defined on line 7:

PHP Code:
#define pev_no_open pev_iuser4 
So, answer is pev_no_open doesn't exist.

If your thread is about something else, please change its title.
__________________
- tired and retired -

- my plugins -
ConnorMcLeod is offline
avril-lavigne
Banned
Join Date: Apr 2009
Old 01-10-2014 , 19:13   Re: why this pev_ is absent from includes ?
Reply With Quote #6

thanks i was stupid
__________________
VDS in Europe 1 gb/s unmetered.Any configurations.
I accept Paypal, Moneybookers,etc
avril-lavigne 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 10:09.


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