Raised This Month: $ Target: $400
 0% 

Help ! Detect touch on the wall?


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
UnrealT
Member
Join Date: Jul 2013
Old 11-22-2013 , 22:08   Help ! Detect touch on the wall?
Reply With Quote #1

Hi a question, as I can detect when a player hits the wall with knife?
UnrealT is offline
DavidJr
Senior Member
Join Date: Apr 2012
Old 11-23-2013 , 01:34   Re: Help ! Detect touch on the wall?
Reply With Quote #2

PHP Code:
RegisterHam(Ham_TraceAttack"func_wall""fwd_TraceAttack")

public 
fwd_TraceAttack(iVictimiAttacker/*, Float:flDamage, Float:flDirection[3], iTr, iDamageBits*/)
{
    if (
get_user_weapon(iAttacker) == CSW_KNIFE)
    {
        
//attack wall
    
}

__________________
What are you looking for here?

Last edited by DavidJr; 11-23-2013 at 01:34.
DavidJr is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 00:38.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode