First of all. What's SCXPM?
PHP Code:
#include < amxmodx >
#include < hamsandwich >
public plugin_init()
{
RegisterHam( Ham_Spawn, "player", "oNSpawn", 1 )
}
public oNSpawn( id )
{
new sSteamID[ 21 ]
get_user_authid( id, sSteamID, charsmax( sSteamID ) )
if( is_user_alive( id ) )
{
client_print( id, print_chat, " Your SteamID is %s", sSteamID )
//PLACE YOUR HUD MESSAGE HERE
}
}
Try that and tell me if it works. It should show your SteamID every time you spawn.
__________________