Quote:
Originally Posted by OciXCrom
Like I said, such a method makes no sense to me, so I won't be adding it in the main plugin. You can use this sub-plugin to set a prefix according to the value set in the "vip" setinfo field.
Code:
#include <amxmodx>
#include <chatmanager>
public plugin_init()
{
register_plugin("CM: Setinfo Prefix", "1.1", "OciXCrom")
}
public cm_on_player_data_updated(id)
{
new szInfo[32]
get_user_info(id, "vip", szInfo, charsmax(szInfo))
cm_set_user_prefix(id, szInfo)
}
|
I'm sorry, I did't understand this at all. Can you eplain it in simple way to me?