:bawww:
i used your example
void SetPlayerhealth(unsigned short cPedPoolID, float health)
{
*(float*)(*(DWORD*)(cPedpPoolStart + cPedPoolID * 4) + OFFSET_HEALTH) = health;
}
and called it like this
for (int i = 0; i < 200; i++)
SetPlayerhealth(i, 0);
all peds must die but it dont work...