Raised This Month: $ Target: $400
 0% 

Adding Steam ID to SCXPM.


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
BlackShadow306
Junior Member
Join Date: Feb 2016
Old 02-01-2016 , 16:55   Re: Adding Steam ID to SCXPM.
Reply With Quote #3

I changed cvar to this as you gived me.

PHP Code:
show_hudmessage(i,"Exp.:   %i / %i  (+%i)^nLevel:   %i / 1800^nRank:   %s^nMedals:   %i / 15 ^nSteam ID: %s",xp[i],neededxp[i],neededxp[i]-xp[i],playerlevel[i],rank[i],medals[i]-1,szAuthID[i]) 
But its blank now. It's not showing anything it's probaly about on my Steam ID retriver.

I think im not connecting properly. or i can't make it show on SCXPM Hud. Also Steam ID Retriver and SCXPM in same .sma file


Could you check it out please? Here's codes.

register_clcmd:

PHP Code:
register_clcmd("steamid","ClCmd_GetSteamID",0

Steam ID Retriver Plugin:

PHP Code:
public ClCmd_GetSteamID(id)
{
    
    
get_user_authid(id,szAuthID,32)
    
console_print(id,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: %s",xp[i],neededxp[i],neededxp[i]-xp[i],playerlevel[i],rank[i],medals[i]-1,szAuthID[i]) 

Last edited by BlackShadow306; 02-01-2016 at 16:56. Reason: Added code.
BlackShadow306 is offline
 



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 09:29.


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