Raised This Month: $51 Target: $400
 12% 

How to get texture name


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
Zer0_CooL
Junior Member
Join Date: Jul 2012
Old 03-18-2016 , 11:11   How to get texture name
Reply With Quote #1

PHP Code:
public plugin_init()
{
    ....
    
RegisterHam(Ham_Touch"info_target""fwd_Ham_Touch");
    ....
}

public 
fwd_Ham_Touch(myEntentTouched)
{
    ...
    
    if (
entTouched == 0)
    {
        
// How to get touched texture name?
    
}

I know about EngFunc_TraceTexture, but how exactly i can do this?
I would be very grateful for any help.
Zer0_CooL 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 10:58.


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