Skip to content

Correctly indentify some fields in CPlane#287

Open
gaussandhisgun wants to merge 1 commit intoDK22Pac:masterfrom
gaussandhisgun:master
Open

Correctly indentify some fields in CPlane#287
gaussandhisgun wants to merge 1 commit intoDK22Pac:masterfrom
gaussandhisgun:master

Conversation

@gaussandhisgun
Copy link

So I was doing some shenanigans with planes, wanting to send a convincing pad state in SA:MP based on the plane status when its driven by in-game AI, and I noticed the relevant values are mapped as integers, and the CPlane class in general lacks descriptions for most of its fields. Hope this helps someone in future :D

Field mappings were obtained with experiments. Turns out these four fields are all floats that represent the plane's control values.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant