View Single Post
arthurdead
Senior Member
Join Date: Jul 2013
Old 01-10-2014 , 10:11   Re: Ground != Walls && Ground != Roof issue
Reply With Quote #2

Quote:
Originally Posted by rodrigo286 View Post
I use code below but message appear if entity touch on walls or roof.

Any way to hook only ground?

PHP Code:
    if(Entity_GetGroundEntity(entity))
    {
        
PrintToChatAll("Rocket touch on ground");
    } 
Thanks for all help.
hook start touch on the rocket and GetEntityFlags FL_ONGROUND ? br ?

Last edited by arthurdead; 01-10-2014 at 10:13.
arthurdead is offline