Quote:
Originally Posted by Point
[PHP]#include <amxmodx>
I wanna retrieve the class names from other plugin and display them in scoreboard. It works but after i change the class it keeps adding class names instead of switching like :
[Class1] Player
[Class1][Class2] Player
and so on.
Also how can i make it display only on scoreboard and remove from chat? Ty
|
You need to store original player's name in global variable (something like g_szName[33][32]).
Set value of g_szName on client_connect(id).
On Command_put format name using g_szName.
To not show in chat, you have took hook say, and replace class with empty string "";
__________________