CRaZYAuf Platinian Oct 4, 2022 #1 Все работает идеально. Attachments IMG_20220923_163526_366.jpg 70.4 KB · Views: 120 Screenshot_20220928_222238_com.kitkagames.fallbuddies.jpg 180.3 KB · Views: 99 IMG_20221004_234310_273.jpg 90.3 KB · Views: 86 Last edited: Oct 4, 2022
alsya Solid & Active Platinian Oct 4, 2022 #2 C++: Vector3 (*WorldToScreenPoint)(void *cam, Vector3 Position); Vector3 World_Inject(Vector3 pos) { void *main = Camera_Main(); if(main){ return WorldToScreenPoint(main, pos); } return {0,0,0} } try that, if it doesn't work, use get_current Upvote 0 Downvote
C++: Vector3 (*WorldToScreenPoint)(void *cam, Vector3 Position); Vector3 World_Inject(Vector3 pos) { void *main = Camera_Main(); if(main){ return WorldToScreenPoint(main, pos); } return {0,0,0} } try that, if it doesn't work, use get_current