Advertisement
Guest User

Untitled

a guest
Jul 22nd, 2017
45
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 1.08 KB | None | 0 0
  1. // STRUCT //
  2.  
  3.  
  4.     void OnChannelChat (MUID *uidPlayer, MUID *uidChannel, char *szMessage)
  5.     {
  6.         ((void (__thiscall *) (LPVOID, MUID *, MUID *, char *))MMatchServer__OnChannelChatAddress) (this, uidPlayer, uidChannel, szMessage);
  7.     }
  8.     static MMatchServer *GetInstance ()
  9.     {
  10.         return ((MMatchServer *(__cdecl *)())MMatchServer__GetInstanceAddress) ();
  11.     }
  12.  
  13.     MMatchObject *GetObjectA (MUID *uidPlayer)
  14.     {
  15.         return ((MMatchObject *(__thiscall *) (LPVOID, MUID *))MMatchServer__GetObjectAAdress) (this, uidPlayer);
  16.     }
  17.  
  18.  
  19. // ADDYS //
  20.  
  21. CONST uint32_t MMatchServer__OnChannelChatAddress = 0x004729C0;
  22. CONST uint32_t MMatchServer__GetInstanceAddress = 0x0041E640;
  23. CONST uint32_t MMatchServer__GetObjectAAdress = 0x00420960;
  24.  
  25. // Admin Message Spam (Bypass for ugrade check)//
  26.  
  27.     for( int i = 0; i != sizeof( szSpam ) / sizeof(char*); i++ )
  28.     {
  29.         if( strstr( szMessage, szSpam[i] ) )
  30.         {
  31.             char szBuffer[1024];
  32.  
  33.             sprintf_s( szBuffer, "Fuck yo couch nigguh." );
  34.             MMatchServer::GetInstance()->Announce( uidPlayer, szBuffer );
  35.  
  36.             return;
  37.         }
  38.     }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement