Raised This Month: $ Target: $400
 0% 

Help REQ! ChatPrefix Bug!


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
Zer0Cool
Member
Join Date: Sep 2011
Location: Belgium
Old 09-28-2011 , 12:35   Help REQ! ChatPrefix Bug!
Reply With Quote #1

Hello i Got a bug in a prefix plugin i used it on my server But when i got a Prefix Bihand my Name
i cant open Menu's with html stuff in it ore SayCmds (bv !slay) Can anyone help me ?
PHP Code:
        public CmdSay(id)
{
    new 
iLevelName[100];
    
    if(
RankPoints[id] > 0)
    {
        
formatex(iLevelNamecharsmax(iLevelName), "%s"RankNames[GangLevel[id]]);
    }
    else
    {
        
formatex(iLevelNamecharsmax(iLevelName), "NewRank");
    }
    
    new 
message[192], szName[32], none[2][32], chat[192];
    
    
read_args (message191)
    
remove_quotes (message)
    
    
formatex(none[0], 31""), formatex(none[1], 31" ")
        
    if(!
equali(messagenone[0]) && !equali(messagenone[1]) && cs_get_user_team(id) != CS_TEAM_SPECTATOR && cs_get_user_team(id) != CS_TEAM_CT )
    {
        
get_user_name(idszName31);
        
        if(
is_user_alive(id))
            
formatex(chat191"^4[%s]^3 %s : ^1%s^1"iLevelNameszNamemessage)
        else
            
formatex(chat191"^1* DEAD *^1 ^4[%s]^3 %s : ^1%s^1"iLevelNameszNamemessage)
            
        switch(
cs_get_user_team(id))
        {
            case 
1ColorChat(0REDchat)
            case 
2ColorChat(0BLUEchat)
        }
        return 
PLUGIN_HANDLED
    
}
    return 
PLUGIN_CONTINUE

Zer0Cool 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 19:43.


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