Raised This Month: $ Target: $400
 0% 

[TF2 MvM] Detect Upgrade Refund Usage


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Tylerst
Veteran Member
Join Date: Oct 2010
Old 10-04-2015 , 10:13   Re: [TF2 MvM] Detect Upgrade Refund Usage
Reply With Quote #2

I know it doesn't involve your listed information, but just in case it helps this is the easiest way to detect the respec that I have found.
PHP Code:
public void OnPluginStart()
{
    
HookUserMessage(GetUserMessageId("MVMResetPlayerUpgradeSpending"), MsgHook_MVMRespec);
}

public 
Action MsgHook_MVMRespec(UserMsg msg_idBfRead msg, const int[] playersint playersNumbool reliablebool init)
{
    
int client BfReadByte(msg); //client that used the respec    


Last edited by Tylerst; 10-04-2015 at 10:28.
Tylerst 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 03:31.


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