void GTAfunc_LockActor(bool boolLock);
void GTAfunc_LockActor(bool boolLock)
{
DWORD *actor = (DWORD *)PEDSELF->GetInterface();
if(actor)
{
if(boolLock)
{
_asm
{
mov ebx, dword ptr [actor]
add ebx, 64
or dword ptr [ebx], 0x2000
}
}
else
{
_asm
{
mov ebx, dword ptr [actor]
add ebx, 64
and dword ptr [ebx], 0xFFFFDFFF
}
}
}
}