Raised This Month: $12 Target: $400
 3% 

[REQ] Entity Question


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
csaba1998
Member
Join Date: Mar 2013
Old 11-04-2014 , 15:09   [REQ] Entity Question
Reply With Quote #1

How to detect if someone through on this entity?

csaba1998 is offline
Kia
AlliedModders Donor
Join Date: Apr 2010
Location: In a world of madness
Old 11-05-2014 , 05:58   Re: [REQ] Entity Question
Reply With Quote #2

Hook Touch on it.
__________________
Kia is offline
csaba1998
Member
Join Date: Mar 2013
Old 11-05-2014 , 09:52   Re: [REQ] Entity Question
Reply With Quote #3

Can you give me an example?
csaba1998 is offline
csaba1998
Member
Join Date: Mar 2013
Old 11-07-2014 , 17:14   Re: [REQ] Entity Question
Reply With Quote #4

I hook succesfully, please close this thread or move to trash
csaba1998 is offline
Kia
AlliedModders Donor
Join Date: Apr 2010
Location: In a world of madness
Old 11-08-2014 , 01:27   Re: [REQ] Entity Question
Reply With Quote #5

You should post your code for others finding this thread.
__________________
Kia is offline
ezio_auditore
Senior Member
Join Date: May 2013
Old 11-09-2014 , 00:52   Re: [REQ] Entity Question
Reply With Quote #6

Code:
#include <engine> public plugin_init() {     register_touch("your_entity_name", "*", "pfn_Touch") } public pfn_Touch(iEnt) {     //Called when your entity touches something.     //iEnt is the index of your entity }

CHEERS: ezio
__________________
ezio_auditore is offline
Send a message via Skype™ to ezio_auditore
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 09:52.


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