(12-01-2019 - 11:47 AM)Darkdos04 Wrote: addOption("Ragdoll player", [] {RagdollPlayer(selectedPlayer); },false,NULL);Imagine using lambdas...
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));
}
}
}
}
(01-17-2020 - 08:42 PM)Darkdos04 Wrote:Imagine taking cred for someone else's work...(01-17-2020 - 07:03 PM)BModzMasterTM Wrote:that aint your code its mine dont lie to act cool cause your just another skid trying to get some rep(12-02-2019 - 01:57 PM)Unbound Wrote: This is literally my code, idiot. Don't claim you made shit when you clearly didn't...n this really works? i mean makes other players to fall in ragdoll?