You shouldn't really use ID's, since they vary by server, but if it's just going to your server, use this.
Code:
#include <amxmodx>
#include <fakemeta>
#define ITEM_ID 9999 // your item id
public plugin_init()
{
register_plugin( "Classname Checker", "1.0", "Wrecked" )
register_clcmd( "say /cname", "CMD_Cname" )
}
public CMD_Cname( id )
{
new cname[32]
pev( ITEM_ID, pev_classname, cname, 31 )
client_print( id, print_chat, "Classname: %s", cname )
}
Type /cname in all chat to get the classname of the item. Replace ITEM_ID's value of 9999 with the item ID.
__________________