Raised This Month: $ Target: $400
 0% 

Modified country on name


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Airkish
AlliedModders Donor
Join Date: Apr 2016
Location: Lithuania
Old 09-14-2018 , 10:53   Re: Modified country on name
Reply With Quote #4

Quote:
Originally Posted by Point View Post
[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 "";
__________________
Airkish is offline
 



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 07:59.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode