PHP Code:
new g_szAuthID[MAX_PLAYERS+1];
public client_putinserver(id){
get_user_authid( id, g_szAuthID[id], sizeof(g_szAuthID) )
server_print("STEAMID :) %s :)", g_szAuthID[id]);
}
OUTPUT: steamid ?TEAM_0:0:8932699
OUTPUT WITH CHARSMAX INSTEAD OF SIZEOF: XTEAM_0:0:8932699
Code:
AMX Mod X 1.10.0.5418 (http://www.amxmodx.org)
Authors:
David "BAILOPAN" Anderson, Pavol "PM OnoTo" Marko
Felix "SniperBeamer" Geyer, Jonny "Got His Gun" Bergstrom
Lukasz "SidLuke" Wlasinski, Christian "Basic-Master" Hammacher
Borja "faluco" Ferrer, Scott "DS" Ehlert
Compiled: May 7 2021 03:40:55
Built from: https://github.com/alliedmodders/amxmodx/commit/3c1856f7
Build ID: 5418:3c1856f7
Core mode: JIT+ASM32
Core mode: JIT+ASM32
meta list
Currently loaded plugins:
description stat pend file vers src load unlod
[ 1] AMX Mod X RUN - amxmodx_mm.dll v1.10.0. ini Start ANY
[ 2] POD-Bot mm RUN - podbot_mm.dll v3.0B15c ini Chlvl ANY
[ 3] CStrike RUN - cstrike_amxx.dll v1.10.0. pl1 ANY ANY
[ 4] FakeMeta RUN - fakemeta_amxx.dl v1.10.0. pl1 ANY ANY
[ 5] Fun RUN - fun_amxx.dll v1.10.0. pl1 ANY ANY
[ 6] Engine RUN - engine_amxx.dll v1.10.0. pl1 ANY ANY
[ 7] Ham Sandwich RUN - hamsandwich_amxx v1.10.0. pl1 ANY ANY
7 plugins, 7 running
__________________