Simply install to your project:
sampctl package install Vince0789/samp-history-collector
Include in your code and begin using the library:
#include <collector>
Work in progress.
Events are published to a Redis channel, where other applications can pick them up. My idea here is to eventually pump these things into an ELK stack for visualization.
To test, simply run the package:
sampctl package run