Hey guys how to set specific object rotation using samp funcs?
I understand i need to use:
But it returns DWORD (probably pointer) but to what? how to set its position and rotation?
I even tried calling cleo opcodes from C++ just to set object's pos but no luck as i always crash (probably doing something wrong).
I understand i need to use:
Code:
SF->getSAMP()->getInfo()->pPools->pObject->GetObjectHandleByID(objectid);
I even tried calling cleo opcodes from C++ just to set object's pos but no luck as i always crash (probably doing something wrong).