AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   Source Servers (SRCDS) (https://forums.alliedmods.net/forumdisplay.php?f=130)
-   -   CS:GO Gameme Top20 Check (https://forums.alliedmods.net/showthread.php?t=286658)

imburnt916 08-21-2016 19:20

CS:GO Gameme Top20 Check
 
Is there such a way to return the position of a member from gameme? As in to check if said player is within the top 20 on the server.

Maxximou5 08-21-2016 21:28

Re: CS:GO Gameme Top20 Check
 
Yes, just reference their API: https://www.gameme.com/docs/api
If you want to see how it can be done via plugin, reference their gameme_messages.sp from their GH.
GitHub: https://github.com/gamemedev/plugin-sourcemod

imburnt916 08-21-2016 22:16

Re: CS:GO Gameme Top20 Check
 
Quote:

Originally Posted by Maxximou5 (Post 2447147)
Yes, just reference their API: https://www.gameme.com/docs/api
If you want to see how it can be done via plugin, reference their gameme_messages.sp from their GH.
GitHub: https://github.com/gamemedev/plugin-sourcemod

Any way I can get you to write just a few lines of code to grab someones rank saved in a global integer. I also cant find the #include <gameme>

Writing the code isnt the problem, just cant find where the folder with all of the gameme stuff is located. Its not downloaded with gameme. So when I try to reference gameme_messages.sp/etc I cant compile.

Maxximou5 08-22-2016 02:07

Re: CS:GO Gameme Top20 Check
 
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).


All times are GMT -4. The time now is 13:23.

Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.