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

Getting Server ID


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
frekons
New Member
Join Date: Jun 2018
Old 06-01-2018 , 22:41   Getting Server ID
Reply With Quote #1

https://github.com/koraktor/steam-condenser
https://github.com/koraktor/steam-condenser-php

I'm using this to get serverId from source-server to PHP

so I can get the serverId perfectly from source-server to PHP
but
I can not get it through sourcemod script, look'd to sourcemod docs couldn't find any method to get this var

any solution?

(some examples of how serverId looks: -1804991484, -2101572600)

also is there any event for quit command,
when srcds.exe being closed by writing "quit", i want to call something

thanks from now

Last edited by frekons; 06-01-2018 at 23:17.
frekons is offline
Fyren
FyrenFyrenFyrenFyrenFyren FyrenFyrenFyrenFyrenFyren FyrenFyrenFyrenFyrenFyren FyrenFyrenFyrenFyrenFyren
Join Date: Feb 2106
Old 06-02-2018 , 01:33   Re: Getting Server ID
Reply With Quote #2

Assuming that's the 64-bit Steam ID for the server as a signed int, you won't get it in exactly that format. But you can get it with GetServerAuthId.
Fyren 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 10:20.


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