Hello Guys
I've been working like hours to add Steam ID to SCXPM:
Before putting codes i'm trying to do it SCXPM will get Steam ID auto not manual.So don't tell me add manually please.
Steam ID Works only on Chat. It's shows 0 on SCXPM Hud.
Steam ID Checker:
PHP Code:
register_clcmd("say /steamid","ClCmd_Print",0)
PHP Code:
public ClCmd_Print(id)
{
new szAuthID[33]
get_user_authid(id,szAuthID,32)
client_print(id,print_chat,szAuthID)
return PLUGIN_HANDLED
}
SCXPM HUD:
PHP Code:
show_hudmessage(i,"Exp.: %i / %i (+%i)^nLevel: %i / 1800^nRank: %s^nMedals: %i / 15 ^nSteam ID: %i",xp[i],neededxp[i],neededxp[i]-xp[i],playerlevel[i],rank[i],medals[i]-1,szAuthID[i])
I did everything but i failed. I'm waiting your helps!