Raised This Month: $ Target: $400
 0% 

enemy on radar


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
jim_yang
Veteran Member
Join Date: Aug 2006
Old 08-20-2010 , 06:46   Re: enemy on radar
Reply With Quote #2

This best way I can think is to hack this part
Code:
if ( *(_DWORD *)(v38 + 420) != -2147483648 )
{
    if ( !*(_DWORD *)(v38 + 368) )
    {
        if ( *(_DWORD *)(v36 + 456) == *(_DWORD *)(_ESI + 456) )
        {
            MESSAGE_BEGIN(MSG_ONE, MSG_Radar, 0, *(_DWORD *)(v38 + 520));
            v77 = ENTINDEX(*(_DWORD *)(*(_DWORD *)(_ESI + 4) + 520));
            WRITE_BYTE(v77);
            WRITE_COORD(*(_DWORD *)(*(_DWORD *)(_ESI + 4) + 8));
            WRITE_COORD(*(_DWORD *)(*(_DWORD *)(_ESI + 4) + 12));
            WRITE_COORD(*(_DWORD *)(*(_DWORD *)(_ESI + 4) + 16));
            MESSAGE_END();
        }
    }
}
This is part of CBasePlayer::UpClientData()
Code:
if ( *(_DWORD *)(v36 + 456) == *(_DWORD *)(_ESI + 456) )
esi register store the client's pointer from 1 to maxclient
this checks if the clients are in the same team and should update the data(sending msg_radar)
__________________
Project : CSDM all in one - 99%
<team balancer#no round end#entity remover#quake sounds#fake full#maps management menu#players punishment menu#no team flash#colored flashbang#grenade trails#HE effect#spawn protection#weapon arena#weapon upgrade#auto join#no weapon drop#one name>
jim_yang 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:57.


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