• Hello Guest! Welcome to ConsoleCrunch, to help support our site check out the premium upgrades HERE! to get exclusive access to our hidden content.
  • Unable to load portions of the website...
    If you use an ad blocker addon, you should disable it because it interferes with several elements of the site and blocks more than just adverts.
  • Read Rules Before Posting Post Virus Scans with every program.

gta 5 admin kick source and more!!!

Should i add more code?

  • Yes

    Votes: 1 100.0%
  • No

    Votes: 0 0.0%

  • Total voters
    1
  • Poll closed .

rebugdex_4.75

Active Poster
Active Member
[hide]GTA5 Admin Kick


opd_s broadcast_mod = { 0xD43FF0, TOC };

void(BROADCAST_MODS)(int r3, int r4, int r5, char r6, int r7) = (void()(int, int, int, char, int))&broadcast_mod;


void AdminKick(int player)

{

strcpy((char*)0x10050038, PLAYER::GET_PLAYER_NAME(player));

(int)0x10050030 = 2;

(int)0x1005005C = 33554432;

BROADCAST_MODS(0, 0x10050030, 1, ""ros.publish":{"channel":"self","msg":{"gm.evt":{"e":"finger","d":{"t":"kick"}}}}", 0);

}


void AdminMessage(int player, char* message)

{

char AdminMessageText[500];

strcpy((char*)0x10050038, PLAYER::GET_PLAYER_NAME(player));

(int)0x10050030 = 2;

(int)0x1005005C = 33554432;

snprintf(AdminMessageText, sizeof(AdminMessageText), ""ros.publish":{"channel":"self","msg":{"gm.evt":{"e":"rockstar_message","d":{"msg":"%s ~o~"}}}}", message);

BROADCAST_MODS(0, 0x10050030, 1, AdminMessageText, 0);

}


void AdminKill(int player)

{

strcpy((char*)0x10050038, PLAYER::GET_PLAYER_NAME(player));

(int)0x10050030 = 2;

(int)0x1005005C = 33554432;

BROADCAST_MODS(0, 0x10050030, 1, ""ros.publish":{"channel":"self","msg":{"gm.evt":{"e":"finger","d":{"t":"tristfulness_furbishment"}}}}", 0);

}




(This is to change the wheather!!! GTA V) int GameTimeStub[2] = { 0x1042D20, TOC };
typedef void(pGameTimeFn)(int H, int M, int S);
pGameTimeFn GAME_TIME = (pGameTimeFn)GameTimeStub;

int GameTimeSyncStub[2] = { 0x12C2A00, TOC };
typedef void(pGameTimeSyncFn)(int r3, int r4); //0, 1
pGameTimeSyncFn GAME_TIME_SYNC = (pGameTimeSyncFn)GameTimeSyncStub;

void setlobbytime(int H, int M, int S)
{
GAME_TIME(H, M, S);
GAME_TIME_SYNC(0, 1);
}
[/hide]



Credits: Alex and Dexxy
 
PHP:
GTA5 Admin Kick


opd_s broadcast_mod = { 0xD43FF0, TOC };

void(BROADCAST_MODS)(int r3, int r4, int r5, char r6, int r7) = (void()(int, int, int, char, int))&broadcast_mod;


void AdminKick(int player)

{

strcpy((char*)0x10050038, PLAYER::GET_PLAYER_NAME(player));

(int)0x10050030 = 2;

(int)0x1005005C = 33554432;

BROADCAST_MODS(0, 0x10050030, 1, ""ros.publish":{"channel":"self","msg":{"gm.evt":{"e":"finger","d":{"t":"kick"}}}}", 0);

}


void AdminMessage(int player, char* message)

{

char AdminMessageText[500];

strcpy((char*)0x10050038, PLAYER::GET_PLAYER_NAME(player));

(int)0x10050030 = 2;

(int)0x1005005C = 33554432;

snprintf(AdminMessageText, sizeof(AdminMessageText), ""ros.publish":{"channel":"self","msg":{"gm.evt":{"e":"rockstar_message","d":{"msg":"%s ~o~"}}}}", message);

BROADCAST_MODS(0, 0x10050030, 1, AdminMessageText, 0);

}


void AdminKill(int player)

{

strcpy((char*)0x10050038, PLAYER::GET_PLAYER_NAME(player));

(int)0x10050030 = 2;

(int)0x1005005C = 33554432;

BROADCAST_MODS(0, 0x10050030, 1, ""ros.publish":{"channel":"self","msg":{"gm.evt":{"e":"finger","d":{"t":"tristfulness_furbishment"}}}}", 0);

}




(This is to change the wheather!!! GTA V) int GameTimeStub[2] = { 0x1042D20, TOC };
typedef void(pGameTimeFn)(int H, int M, int S);
pGameTimeFn GAME_TIME = (pGameTimeFn)GameTimeStub;

int GameTimeSyncStub[2] = { 0x12C2A00, TOC };
typedef void(pGameTimeSyncFn)(int r3, int r4); //0, 1
pGameTimeSyncFn GAME_TIME_SYNC = (pGameTimeSyncFn)GameTimeSyncStub;

void setlobbytime(int H, int M, int S)
{
GAME_TIME(H, M, S);
GAME_TIME_SYNC(0, 1);
}
 
General chit-chat
Help Users
  • No one is chatting at the moment.


      You do not have the permission to use the chat.
      Chat Bot: QM|T_JinX has joined the room.
      Back
      Top