View Single Post
bLacK-bLooD
AlliedModders Donor
Join Date: Jun 2008
Old 01-15-2020 , 11:49   Re: Player doesn't touch a SOLID_TRIGGER entity
Reply With Quote #6

Quote:
Originally Posted by JocAnis View Post
I had been using sprite entity with solid_trigger as you need, but with fakemetas detection for touch:
Code:
public pfn_touch( ent1, id )
{                   
          new classname[ 32 ], name[ 32 ]
          entity_get_string( ent1, EV_SZ_classname, classname, 31 )
                    
          if( equal( classname, "your_ent_classname" ) )
          {
If this matters: i put solid_trigger atribute after all others (like bugsy's example) and it didnt require dllfunc_spawn func calling
This worked, thank you!
__________________
We all live under the same sky but we have different horizons.
bLacK-bLooD is offline