Open kitaroar opened 2 years ago
Found a workaround to this conflict
instead of this line
register_event("SayText", "OnSayTextNameChange", "a", "2=#Cstrike_Name_Change")
...
public OnSayTextNameChange(iMsg, iDestination, iEntity)
{
g_fwdUserNameChanged = register_forward(FM_ClientUserInfoChanged, "OnNameChange", 1)
}
i use this trigger on both plugins
public client_infochanged(id)
{
g_fwdUserNameChanged = register_forward(FM_ClientUserInfoChanged, "OnNameChange", 1)
}
Maybe I need to check if the infochange is "#Cstrike_Name_Change", but for now both plugins are working well
This was my problem too, thanks, it works! It also updates in the HUD as XP changes.
There is a conflict between ChatManager and RankSystem when the player change his name.
If the RankSystem is before ChatManager in plugins.ini the old player's name is show in the chat until the player changes the name again
If the RankSystem is after ChatManager in plugins.ini then the new player's name is show in the chat, but the rank in the hud is showing the old name. The name gets updated after a while