You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Recently, I'm interested in diving into more low level topics to learn more. I've been looking through MTA code to get a slight understanding of how things work underneath, a couple of questions arise:
How are online players treated? Are they PEDS? (I assume yes)
If the above is true, how is the 140 PED limit surpassed?
I've seen to add players/NPC's Cworld:Add is called, which calls FUNC_Add (a function stored at 0x563220), where does this function come from? I can't find any reference/docs to it, I checked here: https://gtamods.com/wiki/Memory_Addresses_(SA), and Googled it, the only reference I found was in MTA and plugin-sdk (https://github.com/DK22Pac/plugin-sdk)
So, how can you call the add function from GTA process (a function in another process) at 0x563220 if MTA is running in another process? Is there a remote thread injected into GTA? A DLL? How does that work?, where is it done?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hello!
Recently, I'm interested in diving into more low level topics to learn more. I've been looking through MTA code to get a slight understanding of how things work underneath, a couple of questions arise:
Thanks for reading!
Beta Was this translation helpful? Give feedback.
All reactions