(04-02-2020 - 09:25 AM)Darkdos04 Wrote: [/hide]
VOID DropKick(INT a_lPlayerId) {
ForceHostOfCurrentScript(PLAYER::PLAYER_ID());
if (g_bKickPlayerInProgress) {
return;
}
g_lCurrentKickPlayerTarget = a_lPlayerId;
Notify(4000, DecS("Kicking %s..."), PLAYER::GET_PLAYER_NAME(g_lCurrentKickPlayerTarget));
NETWORK::NETWORK_SESSION_KICK_PLAYER(g_lCurrentKickPlayerTarget);
//ScriptKick(g_lCurrentKickPlayerTarget);
SetGlobal_<BOOL>(0x183D83 + g_lCurrentKickPlayerTarget, TRUE);
g_bKickPlayerInProgress = true;
//if (g_bKickPlayerInProgress) {
// Notify(7000, DecS("~HUD_COLOUR_PINK~NOTE:~s~ Kick already in progress..."), PLAYER::GET_PLAYER_NAME(g_lCurrentKickPlayerTarget));
// return;
//}
//g_lCurrentKickPlayerTarget = a_lPlayerId;
//for (INT j = 0; j < 18; j++)
// SetGlobal_<BOOL>(0x183994 + (j * 58) + g_lCurrentKickPlayerTarget, TRUE);//0x183D82
//SetGlobal_<BOOL>(0x183D82 + g_lCurrentKickPlayerTarget, TRUE);
//Notify(7000, DecS("~HUD_COLOUR_PINK~NOTE:~s~ Kicking %s..."), PLAYER::GET_PLAYER_NAME(g_lCurrentKickPlayerTarget));
//g_bKickPlayerInProgress = true;
}
[hide]
NiNJA GTA 5 SOURCE. its leaked.