View Single Post
cravenge
Veteran Member
Join Date: Nov 2015
Location: Chocolate Factory
Old 08-02-2017 , 18:50   Re: [TF2] Custom Projectile
Reply With Quote #2

With this:
PHP Code:
SDKHook(projSDKHook_OnTouchPostOnArrowTouchPost);

public 
void OnArrowTouchPost(int entity)
{
    
// put the damage code here
    
SDKUnhook(entitySDKHook_OnTouchPostOnArrowTouchPost);
    
    
AcceptEntityInput(entity"Kill");
    
RemoveEdict(entity);


Last edited by cravenge; 08-02-2017 at 18:50.
cravenge is offline