Hey. I recently started coding for CF and I see the PTC method is a bit different here than on Combat Arms. I found one way of calling it in an old thread. Example

Code:
HMODULE gmhwCShell = GetModuleHandleA(cshellstring);
(*(VOID (WINAPIV **)(CHAR *))(*((DWORD *)gmhwCShell + PTC) + 0x200))("WireFrame 0");
I do a pattern scan for PTC, which works properly and the offset should be correct too. However the game crashes when I try this. Any input on what's wrong here?

Also I've been trying to get flyhack to work. Is it correct that this is done through playerptr + 0x5F0 in this case? When I try that nothing happens...