Hi All, I want to add in my menu the function to spawn models (carepackage), I tried with this function but ps3 freeze/crash:
Code:
unsigned int Entity = (unsigned int)CALL(1,0x278C60,0);
PS3::WriteFloat(Entity + Offsets::EntOrigin, Origin, 3);
PS3::WriteFloat(Entity + Offsets::EntAngles, Angles, 3);
CALL(3,0x277644, 0,Entity , modelname);
CALL(2,0x2670E8,0, Entity);