Raised This Month: $ Target: $400
 0% 

[TF2] Getting Wave Acquired Credits


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
wgooch
Member
Join Date: Dec 2008
Old 08-21-2012 , 13:09   Re: [TF2] Getting Wave Acquired Credits
Reply With Quote #2

PHP Code:
new ent FindEntityByClassname(-1"tf_mann_vs_machine_stats");
if( 
IsValidEntity(ent) )
{
    new 
offs FindSendPropInfo("CMannVsMachineStats""nCreditsDropped");
    
PrintToServer("%d"offs);

This returned 12, so it seems likely that 0 is indeed the right offset location, however you should be searching for tf_mann_vs_machine_stats when finding the actual entity.

Last edited by wgooch; 08-21-2012 at 13:10.
wgooch 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 21:28.


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