addOption("Ragdoll player", [] {RagdollPlayer(selectedPlayer); },false,NULL);
VOID RagdollPlayer(INT m_PlayerId) {
INT m_Ped = PLAYER::GET_PLAYER_PED(m_PlayerId);
if (ENTITY::DOES_ENTITY_EXIST(m_Ped)) {
DWORD dwPedStruct = ((DWORD(*)(INT))0x8352A738)(m_Ped);
if (dwPedStruct) {
DWORD dwNetPed = *(DWORD*)(dwPedStruct + 0x4C);
if (dwNetPed) {
((VOID(*)(WORD))0x830E3488)(*(WORD*)(dwNetPed + 6));
}
}
}
}
VOID RagdollPlayer(INT m_PlayerId) {
INT m_Ped = PLAYER::GET_PLAYER_PED(m_PlayerId);
if (ENTITY::DOES_ENTITY_EXIST(m_Ped)) {
DWORD dwPedStruct = ((DWORD(*)(INT))0x8352A738)(m_Ped);
if (dwPedStruct) {
DWORD dwNetPed = *(DWORD*)(dwPedStruct + 0x4C);
if (dwNetPed) {
((VOID(*)(WORD))0x830E3488)(*(WORD*)(dwNetPed + 6));
}
}
}
}
This account is currently banned
Ban reason: Leeching and Spamming is not allowed, please read the forum Rules upon your return.
(Spamming weird links in here)
Ban reason: Leeching and Spamming is not allowed, please read the forum Rules upon your return.
(Spamming weird links in here)