This:
Code:
register_clcmd("say", "SaySteamID")
Should be this:
Code:
register_clcmd("say steamid", "SaySteamId")
register_clcmd("say /steamid", "SaySteamId")
And:
Code:
SteamID(32, %id, 34) //This doesn't do anything, the function isn't even defined
Should be:
Code:
new steamID[35] //This will store the steam id.
get_user_authid(id, steamID, 34) //This will get the steam id.
And:
Code:
client_print(id,print_chat, "Your Steam ID is %id")
Should be:
Code:
client_print(id,print_chat, "Your Steam ID is %s", steamID)
And you should rewrite the whole function to this:
Code:
public SaySteamId(id)
{
new steamID[35]
get_user_authid(id, steamID, 34)
client_print(id, print_chat, "Your Steam ID is %s", steamID)
}
Well usually I wouldn't go into the details like that but it had to be completely rewritten. Anyways I suggest that you look at
www.amxmodx.org/funcwiki.php sometimes. It is very useful. And also you should look at some of the scripting examples in
http://www.amxmodx.org/doc/source/scripting/index.htm . Pretty useful.
__________________