Raised This Month: $12 Target: $400
 3% 

CS:GO Gameme Top20 Check


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
imburnt916
Junior Member
Join Date: Apr 2015
Location: California
Old 08-21-2016 , 19:20   CS:GO Gameme Top20 Check
Reply With Quote #1

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.
__________________
Sourcemod developer and server manager.
imburnt916 is offline
Maxximou5
AlliedModders Donor
Join Date: Feb 2013
Old 08-21-2016 , 21:28   Re: CS:GO Gameme Top20 Check
Reply With Quote #2

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
Maxximou5 is offline
imburnt916
Junior Member
Join Date: Apr 2015
Location: California
Old 08-21-2016 , 22:16   Re: CS:GO Gameme Top20 Check
Reply With Quote #3

Quote:
Originally Posted by Maxximou5 View Post
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.
__________________
Sourcemod developer and server manager.

Last edited by imburnt916; 08-21-2016 at 22:17.
imburnt916 is offline
Maxximou5
AlliedModders Donor
Join Date: Feb 2013
Old 08-22-2016 , 02:07   Re: CS:GO Gameme Top20 Check
Reply With Quote #4

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).
Maxximou5 is offline
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 16:38.


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