Автор отправил этот репозиторий в архив, он больше не поддерживается.
В этом репозитории нет файла лицензии. Код открыт для чтения, но само по себе это не даёт права использовать его.
README.md
GPCI C#
SA-MP's GPCI function implemented in C#, based on Renegade334's implementation in Javascript
Overview
The full name for this function is apparently GetPlayerComputerId. But this was never documented, nor was the function itself.
For some reason, SA-MP's creator at the time implemented this function and kept it as a secret.
The idea behind this was to be a sort of unique ID to identify a player. Although that wasn't really the case as time went by, because people started figuring out how it worked. So multiple players ended up having the same hash.
Anyhow, this, and an IP were the only things used in SA-MP at the time to actually keep bad actors from rejoining servers.
Why care?
Well, as in the game, this was also useful to identify players from outside of the gameserver. When for example, using a launcher or an external anti-cheat.
Other implementations
I also have this implementation ported for GO and PHP as a Gist: https://gist.github.com/VIRUXE/80a27dca1604ddc8d205416ace911914
There's also the original implementation in Javascript, from Renegade334: https://github.com/Renegade334/gpci-js
Страница собрана из того, что GitHub публикует о репозитории. samp.directory не хранит этот код. Сообщить о проблеме с этой записью