Raised This Month: $114 Target: $400
 28% 

User Tag Prefix


Post New Thread Reply   
 
Thread Tools Display Modes
ish12321
Veteran Member
Join Date: May 2016
Old 09-13-2017 , 02:55   Re: User Tag Prefix
Reply With Quote #71

Have you edited plugin to fix error that I redownload :/?
What other plugin errors are interrupting with this plugin.?
__________________
['O|s|G'] | Death Wins a.k.a Ish Chhabra was here
ish12321 is offline
Natsheh
Veteran Member
Join Date: Sep 2012
Old 09-13-2017 , 04:15   Re: User Tag Prefix
Reply With Quote #72

Quote:
Originally Posted by ish12321 View Post
Have you edited plugin to fix error that I redownload :/?
What other plugin errors are interrupting with this plugin.?
Theres no errors and the plugin is fully optimized try fixing your other plugins errors or disable them....
__________________
@Jailbreak Main Mod v2.6.5 100%
@User Tag Prefix 100% done !
@Mystery Box 100% done !
@VIP System 100% done !
Natsheh is offline
Send a message via MSN to Natsheh Send a message via Skype™ to Natsheh
rtpg6
Junior Member
Join Date: Apr 2018
Old 05-02-2018 , 05:55   Re: User Tag Prefix
Reply With Quote #73

I have a problem. Its not showing alive tags when we are dead.
rtpg6 is offline
Natsheh
Veteran Member
Join Date: Sep 2012
Old 05-02-2018 , 07:22   Re: User Tag Prefix
Reply With Quote #74

Quote:
Originally Posted by rtpg6 View Post
I have a problem. Its not showing alive tags when we are dead.
How its possible to see alive chat when you are dead? Unless you are using another plugin.

Anyway I'll check it out
__________________
@Jailbreak Main Mod v2.6.5 100%
@User Tag Prefix 100% done !
@Mystery Box 100% done !
@VIP System 100% done !

Last edited by Natsheh; 05-02-2018 at 07:54.
Natsheh is offline
Send a message via MSN to Natsheh Send a message via Skype™ to Natsheh
rtpg6
Junior Member
Join Date: Apr 2018
Old 05-02-2018 , 09:44   Re: User Tag Prefix
Reply With Quote #75

On hns we have that too see all chats ;d
and log:
L 05/02/2018 - 14:08:08: [AMXX] Displaying debug trace (plugin "tags.amxx", version "2.2")
L 05/02/2018 - 14:08:08: [AMXX] Run time error 10: native error (native "get_msg_arg_string")
L 05/02/2018 - 14:08:08: [AMXX] [0] Prefixy.sma::user_cmd_saytext (line 167)

Will be great if u will fix that The best tag plugin
rtpg6 is offline
Supremache
Veteran Member
Join Date: Sep 2019
Location: Egypt
Old 07-03-2020 , 18:37   Re: User Tag Prefix
Reply With Quote #76

Hi,

First i liked you plugin, Sec: I was want to add Level and rank to chat codes and i did it but it's working only for who have tag so "level and rank" cant show only if i have tag access, but i did it before in adminprefix v4.0 and working without anyproblem but that version is not good, can you tell me how to do that ? or can you did it for me plz.

What i did:
PHP Code:
public user_cmd_saytext(msgidmsgdestentity_id)
{
    new 
id get_msg_arg_int(1)
    
    if(
equal(user_prefix[id], "DISABLED254358") || !g_user_prefix[id] || !is_user_connected(entity_id) || !is_user_connected(id)) return 0
    
    
new sBuffer[256], szArgs[192], szChannel[24], szStats[8]
    
    new 
g_stats get_pcvar_num(g_show_stats)
    new 
is_alive is_user_alive(id)
    
formatex(szStatscharsmax(szStats), "%s", (!g_stats stats_prefix[is_alive]:(g_stats == 1) ? (is_alive "^0":stats_prefix[Udead]):(is_alive stats_prefix[Ualive]:"^0")))
    
    
get_msg_arg_string(4szArgscharsmax(szArgs))
    
get_msg_arg_string(2szChannelcharsmax(szChannel))
    
    new 
strlen(user_prefix[id]), iColor[3];
    
formatex(iColorcharsmax(iColor), "%c%c"user_prefix[id][i-2], user_prefix[id][i-1])
    
    new 
user_name[32]
    
get_user_name(iduser_namecharsmax(user_name))
    
    new 
prefix[32];
    
formatex(prefixcharsmax(prefix), user_prefix[id])
    
    new 
iRank[32]
    
get_user_rank(idiRankcharsmax(iRank))
    
    new 
iLevel get_user_level(id)
    
    if(
equal(szChannel"#Cstrike_Chat_All"16))
    {
        
formatex(sBuffercharsmax(sBuffer), "^4[ ^3Lv.%d ^1-^3 %s ^4] %s%c%s %c%s %c: %s%s"iLeveliRankszStats'^4'prefix,
        
'^3'user_name'^4'iColorszArgs)
    }
    else
    {
        
formatex(sBuffercharsmax(sBuffer), "^4[ ^3Lv.%d ^1-^3 %s ^4] %s%c%s %c%s %c%s %c: %s%s"iLeveliRankszStats'^3'team_prefix[get_user_team(id)],
        
'^4'prefix'^3'user_name'^4'iColorszArgs)
    }
    
    
chat_message(MSG_ONEentity_ididsBuffer)
    return 
1

Adminprefix v4.0:

PHP Code:
public HookSay(id)
{
    
read_args(g_typedcharsmax(g_typed))
    
remove_quotes(g_typed)

    
trim(g_typed)

    if(
equal(g_typed"") || !is_user_connected(id))
        return 
PLUGIN_HANDLED_MAIN

    
if(equal(g_typed"/prefix"))
    {
        if(
g_toggle[id])
        {
            
g_toggle[id] = false
            client_print
(idprint_chat"%L"LANG_SERVER"PREFIX_OFF"in_prefix)
        }
        else
        {
            
g_toggle[id] = true
            client_print
(idprint_chat"%L"LANG_SERVER"PREFIX_ON"in_prefix)
        }

        return 
PLUGIN_HANDLED_MAIN
    
}

    if(!
g_toggle[id])
        return 
PLUGIN_CONTINUE

    num_to_str
(idstr_idcharsmax(str_id))

    if((
TrieGetString(client_prefixstr_idtemp_prefixcharsmax(temp_prefix)) && get_pcvar_num(g_say_characters) == 1) || (!TrieGetString(client_prefixstr_idtemp_prefixcharsmax(temp_prefix)) && get_pcvar_num(g_say_characters) == 2) || get_pcvar_num(g_say_characters) == 3)
    {
        if(
check_say_characters(g_typed))
            return 
PLUGIN_HANDLED_MAIN
    
}

    
get_user_name(idg_namecharsmax(g_name))

    
g_team cs_get_user_team(id)

    new 
pos0
    
while ( g_swearsNum )
    {
    if ( (
pos containi(g_typed,g_swearsNames[i][1])) != -){ 
        new 
len g_swearsNames[i][0
        while(
len--)
        
g_typed[pos++] = '*'
        
continue
    }
    ++
i
    
}

    if(
temp_prefix[0])
    {
        
formatex(g_messagecharsmax(g_message), "^1%s^4[LV. %d] ^4%s^3 %s :^4 %s"say_team_info[is_user_alive(id)][g_team], get_user_level(id), temp_prefixg_nameg_typed)
    }
    else
    {
        
formatex(g_messagecharsmax(g_message), "^1%s^4[LV. %d]^3 %s :^1 %s"say_team_info[is_user_alive(id)][g_team], get_user_level(id), g_nameg_typed)
    }

    for(new 
1<= g_maxplayersi++)
    {
        if(!
is_user_connected(i))
            continue
        
        
send_message(g_messageidi)
    }

    return 
PLUGIN_HANDLED_MAIN

Supremache is offline
Natsheh
Veteran Member
Join Date: Sep 2012
Old 07-04-2020 , 14:52   Re: User Tag Prefix
Reply With Quote #77

This plugin is deprecated I don't recommend to use since there're better ones out there.

And I'm not interested in proceeding to develop it.

If an approver would move this plugin to unapproved plugins I would be thankful since I don't think there will be any further updates.
__________________
@Jailbreak Main Mod v2.6.5 100%
@User Tag Prefix 100% done !
@Mystery Box 100% done !
@VIP System 100% done !

Last edited by Natsheh; 07-04-2020 at 14:54.
Natsheh is offline
Send a message via MSN to Natsheh Send a message via Skype™ to Natsheh
darkboss
Junior Member
Join Date: Mar 2020
Old 11-08-2020 , 02:45   Re: User Tag Prefix
Reply With Quote #78

not working
darkboss is offline
nG_getwreck
Senior Member
Join Date: Oct 2020
Location: Philippines from South K
Old 11-08-2020 , 11:15   Re: User Tag Prefix
Reply With Quote #79

Quote:
Originally Posted by darkboss View Post
not working
What do u mean? Please post the problem. No description = no support.
__________________
nG_getwreck is offline
bbc123
New Member
Join Date: Jan 2013
Old 06-10-2021 , 04:26   Re: User Tag Prefix
Reply With Quote #80

HI, Little problem here

"Name" "XmO' x" "abcdefghijkmnlopqrstyuz" "[ test ]"

and everytime if i say mesaage is to team say and before tekst is "]"
Attached Thumbnails
Click image for larger version

Name:	cssh.png
Views:	13
Size:	16.6 KB
ID:	189698  

Last edited by bbc123; 06-10-2021 at 04:33.
bbc123 is offline
Reply


Thread Tools
Display Modes

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 05:00.


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