Raised This Month: $ Target: $400
 0% 

Detect prop by trigger_multiple


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
krad
Junior Member
Join Date: Mar 2016
Old 09-23-2016 , 18:49   Detect prop by trigger_multiple
Reply With Quote #1

Hello everybody, i'm stuck on a plugin since few days, i want detect props create by a another plugin, but the trigger detect ONLY people.

BUT when a new player connect, the trigger_multiple work with props. i guess when a new player connect, he re-check every entity.

I don't know if you really understand what i want say.

the code:
Spoiler


when i go in the zone, i see detect in chat, and when a new player join and spawn, the plugin put in chat, every entity within.

exemple:
2 players in zone = 2xdetect
2 player and 1 props = 2xdetect+1xObjet

I want it to work every props spawn.
Can you help me please, thanks !
Sorry for my bad english.

Last edited by krad; 09-24-2016 at 04:58.
krad is offline
m_bNightstalker
Senior Member
Join Date: Jan 2015
Location: JWD
Old 09-24-2016 , 01:05   Re: Detect prop by trigger_multiple
Reply With Quote #2

spawnflags have to be 64+1024
m_bNightstalker is offline
krad
Junior Member
Join Date: Mar 2016
Old 09-24-2016 , 04:27   Re: Detect prop by trigger_multiple
Reply With Quote #3

You don't understand, that don't work.

The trigger dont detect props because they are create by a another plugin, so i guess there are no starttouch, however when a new player spawn, every entity in the trigger are put on the chat, i dont know why.
krad is offline
m_bNightstalker
Senior Member
Join Date: Jan 2015
Location: JWD
Old 09-24-2016 , 07:03   Re: Detect prop by trigger_multiple
Reply With Quote #4

Why does it have to be a trigger_multiple btw? What about hook on entity spawn and than check it's position.
m_bNightstalker is offline
krad
Junior Member
Join Date: Mar 2016
Old 09-24-2016 , 07:08   Re: Detect prop by trigger_multiple
Reply With Quote #5

Because we can move props, create outside the spawn and move in. Or we need detect when entity change position.
krad 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 13:27.


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