Raised This Month: $ Target: $400
 0% 

[ANY] Input Hooks - DevTools (1.9) [15-Jun-2022]


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Ilusion9
Veteran Member
Join Date: Jun 2018
Location: Romania
Old 08-25-2020 , 03:24   Re: [ANY] Input Hooks - DevTools (1.4) [10-May-2020]
Reply With Quote #8

https://crash.limetech.org/gv4g4mf7khdl

linux
sm 1.10
dhooks for 1.10

PHP Code:

I modified this
:
public 
MRESReturn AcceptInput(int entityHandle hReturnHandle hParams)
{
    if (
entity 0)
    {
        
entity EntRefToEntIndex(entity);
    }
    
    
char input[128];
    
DHookGetParamString(hParams1inputsizeof(input));

    
char classname[128];
    
GetEntityClassname(entityclassnamesizeof(classname));
    
    
int activator = -1;
    if (!
DHookIsNullParam(hParams2))
    {
        
activator DHookGetParam(hParams2);
    }
    
    
// Print etc..
    
return MRES_Ignored;

__________________
Ilusion9 is offline
 



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 22:27.


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