{"action":"opened","issue":{"url":"https://api.github.com/repos/DK22Pac/plugin-sdk/issues/82","repository_url":"https://api.github.com/repos/DK22Pac/plugin-sdk","labels_url":"https://api.github.com/repos/DK22Pac/plugin-sdk/issues/82/labels{/name}","comments_url":"https://api.github.com/repos/DK22Pac/plugin-sdk/issues/82/comments","events_url":"https://api.github.com/repos/DK22Pac/plugin-sdk/issues/82/events","html_url":"https://github.com/DK22Pac/plugin-sdk/issues/82","id":376908121,"node_id":"MDU6SXNzdWUzNzY5MDgxMjE=","number":82,"title":"Constructor parameter for CPed::CPed is probably incorrect","user":{"login":"Grovespaz","id":2829264,"node_id":"MDQ6VXNlcjI4MjkyNjQ=","avatar_url":"https://avatars3.githubusercontent.com/u/2829264?v=4","gravatar_id":"","url":"https://api.github.com/users/Grovespaz","html_url":"https://github.com/Grovespaz","followers_url":"https://api.github.com/users/Grovespaz/followers","following_url":"https://api.github.com/users/Grovespaz/following{/other_user}","gists_url":"https://api.github.com/users/Grovespaz/gists{/gist_id}","starred_url":"https://api.github.com/users/Grovespaz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Grovespaz/subscriptions","organizations_url":"https://api.github.com/users/Grovespaz/orgs","repos_url":"https://api.github.com/users/Grovespaz/repos","events_url":"https://api.github.com/users/Grovespaz/events{/privacy}","received_events_url":"https://api.github.com/users/Grovespaz/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-11-02T17:48:19Z","updated_at":"2018-11-02T17:48:19Z","closed_at":null,"author_association":"NONE","body":"[Itis currently documented as being modelIndex](https://github.com/DK22Pac/plugin-sdk/blob/a5c6bcbed99cbef3706b61de064233a6238d50ff/plugin_vc/game_vc/CPed.h#L587) but I suspect it should be pedType.\r\nI hooked the constructor and I saw it being called with an even distribution of 4's and 5's and a lesser amount of 6's. That corresponds to Civmale, Civfemale and Cop respectively. They were definitely not the modelIndex's of the peds being spawned.\r\n\r\n(I don't know if these files are auto-generated from another source, so I opened this issue first. \r\nIf it's okay to just send a PR I will.)"}}
{"actor":{"display_login":"Grovespaz"}}