katursis / Pawn.RakNet

🛡 Plugin for SA:MP 0.3.7 server that allows you to capture and analyze RakNet traffic
https://github.com/katursis/Pawn.RakNet/wiki
MIT License
163 stars 29 forks source link

Question about "OnFootSync" #23

Closed omcho420 closed 5 years ago

omcho420 commented 5 years ago

I started using Pawn.RakNet a few days ago and while I was trying to create an anti-cheat for health/armour hack I noticed something, firstly I was not sure about opening an Issue about this but if I'm wrong u can just close this.

Why are PR_health and PR_armour integers and not floats? I'm talking about the PR_OnFootSync enumator.

EDIT: I found the id's for all the packets

katursis commented 5 years ago

Why are PR_health and PR_armour integers and not floats?

Because they store in a packet as integer.