![]() |
Every time when i hook the incoming onfoot packet, players onfoot structure is somehow corrupted. Why?
I tried to print player health, armour or anything from player stOnFootData structure , but everything is printed wrongly. https://forum.antichat.xyz/attachments/28122724/ 1661174620267.pngkngsly · 22 Авг 2022 в 16:26' data-fancybox="lb-post-1122724" data-lb-caption-extra-html="" data-lb-sidebar-href="" data-single-image="1" data-src="https://www.blast.hk/attachments/164309/" style="cursor: pointer;" title="1661174620267.png"> https://forum.antichat.xyz/attachments/28122724/ On aim and bullet, works good. https://forum.antichat.xyz/attachments/28122724/ |
player sync packets sent by the server aren't just plain struct so you can't read it that way. here are examples how to read it right: https://github.com/THE-FYP/SAMP.Lua/...dlers.lua#L198 https://gitlab.com/blasthack/raksamp...tgame.cpp#L127
|
Цитата:
|
| Время: 16:33 |