Download the contents of the GitHub:
https://github.com/gamemedev/plugin-...ive/master.zip
It's under the scripting folder, copy and paste it into your scripting folder. The include file and everything is inside.
The gameme_messages.sp shows you exactly how you pull the data on a query to get everything about the player, including their rank (if they have show rank enabled).