Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // STRUCT //
- void OnChannelChat (MUID *uidPlayer, MUID *uidChannel, char *szMessage)
- {
- ((void (__thiscall *) (LPVOID, MUID *, MUID *, char *))MMatchServer__OnChannelChatAddress) (this, uidPlayer, uidChannel, szMessage);
- }
- static MMatchServer *GetInstance ()
- {
- return ((MMatchServer *(__cdecl *)())MMatchServer__GetInstanceAddress) ();
- }
- MMatchObject *GetObjectA (MUID *uidPlayer)
- {
- return ((MMatchObject *(__thiscall *) (LPVOID, MUID *))MMatchServer__GetObjectAAdress) (this, uidPlayer);
- }
- // ADDYS //
- CONST uint32_t MMatchServer__OnChannelChatAddress = 0x004729C0;
- CONST uint32_t MMatchServer__GetInstanceAddress = 0x0041E640;
- CONST uint32_t MMatchServer__GetObjectAAdress = 0x00420960;
- // Admin Message Spam (Bypass for ugrade check)//
- for( int i = 0; i != sizeof( szSpam ) / sizeof(char*); i++ )
- {
- if( strstr( szMessage, szSpam[i] ) )
- {
- char szBuffer[1024];
- sprintf_s( szBuffer, "Fuck yo couch nigguh." );
- MMatchServer::GetInstance()->Announce( uidPlayer, szBuffer );
- return;
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement