Well, touch is working for other entities, like rpgrocket, or something (cause I have mixed rpg in it). Only landmine isn't working.
I realized that the condition of my pfn_touch is bad.
Code:
if(equal(ClassName, "landmine") && equal(toucherClass, "player"))
It just doesn't work.
If i set just:
Code:
if(equal(ClassName, "landmine"))
Mine explodes after it touches the ground. I want to make it explode after touching player, what's wrong in my method (first post)?