Open Ceypi opened 3 months ago
Was looking at gmodsdk,cranium and CFF for information about their ways of getting netvars but they use macro's instead of the system that is inplace in nixware
Got it to work. ( From Cranium ) c_base_entity get_observer_target() { using fn = void (__fastcall)(void); static fn f; if (!f) f = (fn)memory::pattern_scanner("client.dll", "40 53 48 83 EC 20 48 39 0D ? ? ? ? 48 8B D9 75 26"); return (c_base_entity*)f(this); }
Thank you very much for your contribution to the project
Ok so im writing up a spectator list.
This is my c_base_entity code right now. ( doesnt compile obviously ) How would you approach @pa1n-dev ?
I'm new to C++ and don't exactly understand how you got the index numbers.