pfn_touch
Hi this is probally a simple question.
I was wondering why i cant pfn touch to work. I want it to delete an entity (touched) and then set a player (toucher) variable. Heres what i got. |
New WAY
#include <engine> #include <fakemeta> Code:
|
Code:
|
The money.mdl is precached.
The problem im having is it crashes. Just after map start |
check the logs?
|
Nothing in the logs?
|
hmm, full code?
|
|
toucher is the ent, touched is the player, no matter what.
|
awsome thanks for clearing that up
also i noticed Code:
i guess it has to be formated like that When i was trying to figure i tried it like that and it still kept crashing. I was trying to get it to make the entity dissapear and set a player variable. With help i can figure out how pfn_touch. Maybe stumble on to it. I dunno I got some time off and im trying to understand this more thuroughly. ANY HELP is appreciated |
| All times are GMT -4. The time now is 17:12. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.