Thread: [Solved] Hook Gasstation Explosion
View Single Post
finishlast
Member
Join Date: Nov 2018
Location: In Reno with the vitamin D.
Old 09-27-2020 , 11:16   Re: Hook Gasstation Explosion
Reply With Quote #7

This fires


- OnTrigger 'gasstation_explosion_relay' index -2119029715
- OnTrigger 'gasstation_explosion_relay' index -2134451156
- OnTrigger 'gasstation_explosion_relay' index -2104460105
- OnTrigger 'gasstation_explosion_relay' index -2137469871
- OnTrigger 'gasstation_explosion_relay' index -2046321482
- OnTrigger 'gasstation_explosion_relay' index -2073998298
- OnTrigger 'gasstation_explosion_relay' index -2107548637

I found it!

changed

if(!StrEqual(
to
if(StrEqual(

char m_iName[MAX_NAME_LENGTH];
GetEntPropString(caller, Prop_Data, "m_iName", m_iName, sizeof(m_iName));
if(StrEqual(m_iName, "gasstation_explosion_relay", false)){
PrintToChatAll("- OnTrigger 'gasstation_explosion_relay' index %i", caller);
}


Thanks a lot!!!
__________________

Last edited by finishlast; 09-27-2020 at 11:37.
finishlast is offline